Class ImaJson.Entry

  • Enclosing class:
    ImaJson

    public class ImaJson.Entry
    extends Object
    A JSON entry. There is one for each item in an object or array.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int count
      The count of items in an array, or the value of an integer entry
      int level
      The level in the document tree
      int line
      The line number from the start of the source (first line = 1)
      String name
      The name of the entry.
      ImaJson.JObject objtype
      The type of the object
      String value
      The value
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • name

        public String name
        The name of the entry. This is not set for entries in an array
      • value

        public String value
        The value
      • count

        public int count
        The count of items in an array, or the value of an integer entry
      • level

        public int level
        The level in the document tree
      • line

        public int line
        The line number from the start of the source (first line = 1)
    • Constructor Detail

      • Entry

        public Entry()