nl_tokens: Get the value of a json object at a given path
pl_tokens: function get ( object , path ) { if ( memoGet [ path ] ) { return new Error ( "circular reference for " + path ) ; } var parts = path . split ( "." ) ; var obj = object ; while ( typeof obj === "object" && obj && <mask> . length ) { var part = parts . shift ( ) ; if ( ! ( part in obj ) ) { return new Error ( "invalid path" ) ; } obj = obj [ part ] ; } memoGet [ path ] = true ; // The replace can cause a circular reference var value = replace ( obj , object ) ; delete memoGet [ path ] ; return value ; }