elasticsearch/docs/reference/ingest/processors
edh-oss 62a471aefe
Update JSON parser and snippets (#77983)
Related to issue  #77823

This does the following:

- Updates several asciidoc files that contained code snippets with
  invalid JSON, most involving unnecessary trailing commas.

- Makes the switch from the Groovy JSON parser to the Jackson parser,
  pursuant to the general goal of eliminating Groovy dependence.

- Makes testing of JSON validity at build time more strict.

Note that this update still allows backslash escaping for any
character. Currently that matters because of the file
"docs/reference/ml/anomaly-detection/apis/get-datafeed-stats.asciidoc",
specifically this part:

    "attributes" : {
      "ml.machine_memory" :
        "$body.datafeeds.0.node.attributes.ml\.machine_memory",
      "ml.max_open_jobs" : "512"
    }

It's not clear to me what change, if any, is appropriate there. So,
I've left in the escaped period and configured the parser to ignore
it for the time being.
2021-09-20 11:08:26 +01:00
..
append.asciidoc
bytes.asciidoc
circle.asciidoc
common-options.asciidoc
community-id.asciidoc
convert.asciidoc
csv.asciidoc
date-index-name.asciidoc
date.asciidoc
dissect.asciidoc
dot-expand.asciidoc
drop.asciidoc
enrich.asciidoc
fail.asciidoc
fingerprint.asciidoc
foreach.asciidoc
geoip.asciidoc
grok.asciidoc
gsub.asciidoc
html_strip.asciidoc
inference.asciidoc
join.asciidoc
json.asciidoc
kv.asciidoc
lowercase.asciidoc
network-direction.asciidoc
pipeline.asciidoc
registered-domain.asciidoc
remove.asciidoc
rename.asciidoc
script.asciidoc
set-security-user.asciidoc
set.asciidoc
sort.asciidoc
split.asciidoc
trim.asciidoc
uppercase.asciidoc
uri-parts.asciidoc
url-decode.asciidoc
user-agent.asciidoc