You will need to validate if this field is a json or not, by checking if it has the { in the value for example and then use a conditional to parse it as a json and store in a different field as well as you cannot use the same field for both.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.