Re:JSON Patch – a format for describing changes to a JSON do...
by chj on Wednesday October 29, 2014 @09:51PM
(#8530945)
JSON data is not always stored as texts.
[ Parent
| on HN ]
Re:JSON Patch – a format for describing changes to a JSON do...
by disordinary on Wednesday October 29, 2014 @10:50PM
(#8531095)
How else would you store it? Javascript Object Notation is text. Other formats such as BSON are different.
Or are you simply talking about javascript style object literals?
Re:JSON Patch – a format for describing changes to a JSON do...
by chj on Thursday October 30, 2014 @09:07AM
(#8532657)
JSON is external representation of objects. You can store the actual data on server in any form you like. Doesn't mean you have to store them in text.
Re:JSON Patch – a format for describing changes to a JSON do...
by disordinary on Thursday October 30, 2014 @07:03PM
(#8536349)
But its Javascript Object Notation - Notation in this case implies text - if your storing it in something other than text it's not JSON.
From Wikipedia: JavaScript Object Notation, is an open standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs.
Re:JSON Patch – a format for describing changes to a JSON do...
by chj on Friday October 31, 2014 @09:00AM
(#8538484)
Like you pointed out JSON is used to transmit data objects, but storage of data objects on the server or local file is entirely different story. I hope I don't have to explain further.
Re:JSON Patch – a format for describing changes to a JSON do...
by disordinary on Sunday November 02, 2014 @05:44PM
(#8548411)
Yes, then its no longer json...