# HG changeset patch # User kellrott # Date 1343166092 14400 # Node ID 1fce036937257319081e54ed45855b200e6e0fe6 # Parent bda961c955d5b5b7752d6836fe7be6902c62eda1 Uploaded diff -r bda961c955d5 -r 1fce03693725 json_eval.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/json_eval.xml Tue Jul 24 17:41:32 2012 -0400 @@ -0,0 +1,105 @@ + + Evalutate and Format JSON + $script_file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +This is a utility to decode JSON data into text info. + +The 'multiline' mode assumes that each line in an input is a seperate and complete +JSON record (ie no return characters in the middle of a record) + +Given a files with + +{ "@id" : "Test_1" } +{ "@id" : "Test_2" } +{ "@id" : "Test_3" } + +Example: + value['@id'] + +Prints out the file: + Test_1 + Test_2 + Test_3 + + + + + +