metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anandsubbu <...@git.apache.org>
Subject [GitHub] metron pull request #727: METRON-1146: Add ability to parse JSON string into...
Date Tue, 05 Sep 2017 10:55:07 GMT
Github user anandsubbu commented on a diff in the pull request:

    https://github.com/apache/metron/pull/727#discussion_r136954647
  
    --- Diff: metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/dsl/functions/StringFunctions.java
---
    @@ -450,4 +454,40 @@ public Object apply(List<Object> strings) {
         }
       }
     
    +  @Stellar( name = "PARSE_JSON_STRING"
    +          , description = "Returns a JSON object for the specified JSON string"
    +          , params = {
    +            "str - the JSON String to convert, may be null"
    +          }
    +          , returns = "an Object containing the parsed JSON string"
    +  )
    +  public static class ParseJsonString extends BaseStellarFunction {
    +
    --- End diff --
    
    Updated README


---

Mime
View raw message