Interface MarshallValue

All Known Implementing Classes:
MarshallValueImpl

public interface MarshallValue
This interface represents an object that is the result of converting a JSON structure into a java structure. A dedicated interface is supplied because you cannot know in advance whether the result will be a primitive type or a reference type. This interface lets you investigate which kind of value is returned before you use it.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Get the primitive boolean value.
    byte
    Get the primitive byte value.
    char
    Get the primitive char value.
    double
    Get the primitive double value.
    float
    Get the primitive float value.
    int
    Get the primitive int value.
    long
    Get the primitive long value.
    Get the reference to a Java object.
    short
    Get the primitive short value.
    int
    Get the type of the value so that you can access its value safely.