Creating API objects from JSON data

A common workflow during application development with Elasticsearch is to use the Kibana Developer Console to interactively prepare and test queries, aggregations, index mappings and other complex API calls. This results in working JSON snippets that you may want to use in your application. https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/loading-json.html