[ https://issues.apache.org/jira/browse/METRON-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519384#comment-15519384 ]
ASF GitHub Bot commented on METRON-449: --------------------------------------- Github user cestella commented on a diff in the pull request: https://github.com/apache/incubator-metron/pull/271#discussion_r80365696 --- Diff: metron-platform/metron-parsers/src/test/java/org/apache/metron/parsers/json/JSONMapParserTest.java --- @@ -56,7 +56,7 @@ public void testHappyPath() { /** { - "collection" : { "blah" : 7, "blah2" : "foo" } + "collection" : { "blah" : 7, "blah2" : "foo", "bigblah" : { "innerBlah" : "baz", "reallyInnerBlah" : { "color" : "grey" }}} --- End diff -- I like it! Would you make one more test case that involves just a single map? > JSON Parser should handle arbitrarily deep nesting of maps > ---------------------------------------------------------- > > Key: METRON-449 > URL: https://issues.apache.org/jira/browse/METRON-449 > Project: Metron > Issue Type: Improvement > Affects Versions: 0.2.1BETA > Reporter: Otto Fowler > > The JSONMapParser's unfolding function only unfolds maps at the root level > such as "collection" : { "blah" : 7, "blah2" : "foo" }. > This limits the utility of the parser, since it is likely that someone would > have to do a good deal of transformation before hand. > The ability for the parser to handle nested objects ( maps ) to arbitrary > depth would greatly add to the utility of this parser. -- This message was sent by Atlassian JIRA (v6.3.4#6332)