Page 1 of 1

JSON uses less space?

Posted: Mon May 12, 2014 10:36 pm
by rameshrr3
Im new to JSON , but does transmitting simple payloads over JSON save bandwidth & 'space' compared XML carrying the same info ? A cursory look suggests that. JSON outwardly seems eerily familiar with orchestrate subrecords and vectors [ probably the tagged type]

Posted: Tue May 13, 2014 6:22 am
by eostic
Probably someone should move this to a new thread....

...but in the meantime, yes on the space issue --- JSON is a lot less verbose. It structurally is very similar to XML, but minus the amount of "tag" overhead. I find it more difficult to just "read" because of the lack of tags and structure that is implied by other symbols instead of simple nesting, but the software doesn't care. ; )

Size isn't the only reason that JSON has a following, but it is one of the major ones. The similarity to orchestrate is interesting, but likely very just a coincidence.

All of us in the DS space need to just deal with whatever we're handed...and as of 9.1, DataStage can do JSON or XML...both are fully supported.

Ernie

Posted: Tue May 13, 2014 6:54 am
by chulett
eostic wrote:Probably someone should move this to a new thread....
That's my cue! Away we go... :wink: