Tuesday, January 22, 2013

JSON Support

Today I added the beginnings of native JSON support in xmlsh.  This is in SVN only, no new releases yet.  I am soliciting oppinions on features for JSON.

Why JSON in xmlsh ?  Well I have to learn to stop hating and "Love the bomb".
JSON is prevalent in the web world.  I want to add better support for web services.  While the existing json2xml command works fine it is a bit clumbsy.   So I decided to support native JSON parsing with "jsonread" and JSONPATH with the "jsonpath" command.   Also variables can be pure parsed JSON objects.  

From here what ? This is a good start but I would like the equivilent of <[ xquery ]> but to work on JSON.  Maybe thats overkill ?  How about simple array and member access natively like   $X.Y[2]

Not sure how far I want to go with this.

Suggestions welcome !

-David

No comments:

Post a Comment

Due to comment spam, moderation is turned on. I will approve all non-spam comments.