JSON eXtended Notation

A real thriller...

Here are demos where you can play with the JXN parser live.

Sample 1: Try JXN out here

The JXN MacroPlugin task and loop api are only capturing the string of data they are encapsulating and reparsing them when called. Because of this it uses the same amount if not more function calls of the original JSON parser. This means that the language can limit to how much depth successive calls you can make simultaneously.

For example putting the task.run() reference to an actionscript MovieClip's onEnterFrame will make it trigger the "script running slowly" dialog. As of the moment, this will be considered outside the scope of JXN, in the future the JXN team is looking for ways to "compile" the resulting logic elements into memory.

How To Use

  1. Having a string and then unmarshall it to a resulting object. Ex.
    	var jsn = "[true,false]";
    	var jxn = new JXN();
    	var arr = jxn.unmarshall(jsn);
  2. Loading it from a file using the static function JXN.load Ex.
    	var context = new Object();
    				//process result from evt.result

Copyright (C) 2007 JXN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

Michael Jackson© is not affiliated with this project.