Back to Jsoneditor

JSONEditor

examples/23_custom_query_language.html

10.4.3345 B
Original Source

This demo shows how to configure a custom query language. Click on the "Transform" button and try it out.

This basic example uses lodash functions filter, sort, and pick, but you can run any JavaScript code.

WARNING: this example uses new Function() which can be dangerous when executed with arbitrary code. Don't use it in production.