OpenSearch/libs/x-content/src/test/java/org/elasticsearch/common
Igor Motov 66a9b721f5 Add Map to XContentParser Wrapper (#44036)
In some cases we need to parse some XContent that is already parsed into
a map. This is currently happening in handling source in SQL and ingest
processors as well as parsing null_value values in geo mappings. To avoid
re-serializing and parsing the value again or writing another map-based
parser this commit adds an iterator that iterates over a map as if it was
XContent. This makes reusing existing XContent parser on maps possible.

Relates to #43554
2019-07-11 09:38:31 -04:00
..
xcontent Add Map to XContentParser Wrapper (#44036) 2019-07-11 09:38:31 -04:00
ParseFieldTests.java Begin moving XContent to a separate lib/artifact (#29300) 2018-04-02 15:58:31 -06:00