Class TreeRefParser

java.lang.Object
io.crums.model.json.TreeRefParser

public class TreeRefParser
extends java.lang.Object
Parses and generates TreeRef JSON.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static TreeRefParser INSTANCE  
  • Constructor Summary

    Constructors
    Constructor Description
    TreeRefParser()  
  • Method Summary

    Modifier and Type Method Description
    org.json.simple.JSONObject toJsonObject​(TreeRef ref)  
    TreeRef toTreeRef​(org.json.simple.JSONObject jtree)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TreeRefParser

      public TreeRefParser()
  • Method Details

    • toJsonObject

      public org.json.simple.JSONObject toJsonObject​(TreeRef ref)
    • toTreeRef

      public TreeRef toTreeRef​(org.json.simple.JSONObject jtree)