You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by revans2 <gi...@git.apache.org> on 2018/10/22 19:54:45 UTC

[GitHub] storm issue #2882: STORM-3260: Add in support to print some state

Github user revans2 commented on the issue:

    https://github.com/apache/storm/pull/2882
  
    @kishorvpatil 
    
    I didn't intend the data to be true JSON.  There are some things Thrift supports that JSON does not, like non-string map keys.  Storm uses those in our thrift data structures.
    
    The goal is to be able to get something out that a human can look at and understand.
    
    To me `not set` is less ambiguous than `"not set"`, `""`, or `{}` because it would never parse as JSON and it is actually not set. A `null` would probably be fine seeing how setting something to null in thrift is the same as not setting it.


---