We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In larger JSON framework, for jsonpath analysis it might be usefull to have more resultTypes: * normalized path - just steps of path as an array (w/out tracing target object) if( P.resultType == "WAY" ) return P.normalize(expr).split(';'); P.trace(P.normalize(expr).replace(/^\$;/,""), obj, "$"); return P.result.length ? P.result : false; * normalized traced path - with expanded expressions/filters/slices asTrace: function(path) { return path.split(";"); } store: function(p, v) { if (p) P.result[P.result.length] = ( P.resultType == "PATH" ? P.asPath(p) : ( P.resultType == "TRACE" ? P.asTrace(p) : v)); return !!p; },
Original issue reported on code.google.com by [email protected] on 4 Nov 2009 at 12:19
[email protected]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Original issue reported on code.google.com by
[email protected]
on 4 Nov 2009 at 12:19The text was updated successfully, but these errors were encountered: