[ 
https://issues.apache.org/jira/browse/METRON-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155624#comment-16155624
 ] 

ASF GitHub Bot commented on METRON-1146:
----------------------------------------

Github user nickwallen commented on a diff in the pull request:

    https://github.com/apache/metron/pull/731#discussion_r137320162
  
    --- Diff: 
metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/ParserExtensionController.java
 ---
    @@ -90,8 +91,8 @@
       @ApiOperation(value = "Retrieves all ParserExtensionConfigs from 
Zookeeper")
       @ApiResponse(message = "Returns all ParserExtensionConfigs", code = 200)
       @RequestMapping(method = RequestMethod.GET)
    -  ResponseEntity<Map<String, ParserExtensionConfig>> findAll() throws 
RestException {
    -    return new ResponseEntity<Map<String, 
ParserExtensionConfig>>(extensionService.getAllParserExtensions(), 
HttpStatus.OK);
    +  ResponseEntity<List<ParserExtensionConfig>> findAll() throws 
RestException {
    --- End diff --
    
    Makes sense.  Its cleaner this way.  (Even if the real reason is that you 
aren't good enough with Angular.  Ha)


> Add ability to parse JSON string into JSONObject for stellar
> ------------------------------------------------------------
>
>                 Key: METRON-1146
>                 URL: https://issues.apache.org/jira/browse/METRON-1146
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Anand Subramanian
>            Assignee: Anand Subramanian
>
> Use jackson to parse a given JSON string and return a JSONObject on the 
> stellar. For example:
> {code}
> MAP_GET( 'bar', PARSE_JSON_STRING(  '{ "foo" : 1, "bar" : 2}' )
> {code}
> would give the output 2



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to