About parsing Elasticsearch DSL JSON in Javascript

I need to pre-process ES Search JSON before pass it to ES.

Is there a tool to parse and build AST from the POST JSON of ES Search DSL?
I didn't find related codes in elasticsearch.js, it seems just pass the request to ES server.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.