Package org.apache.synapse.commons.staxon.core.json.stream

# Class JsonStreamSource.Value

java.lang.Object
org.apache.synapse.commons.staxon.core.json.stream.JsonStreamSource.Value

Enclosing interface:
  `JsonStreamSource`

public static class JsonStreamSource.Value extends Object
Represents a simple value.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final Object`
  `data`
  `final String`
  `text`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Value(String text)`
  Create string value
  `Value(String text, Number number)`
  Create number value

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### text

    public final String text

  - ### data

    public final Object data

- ## Constructor Details

  - ### Value

    public Value(String text, Number number)
    Create number value
    Parameters:
      `text` -
      `number` -

  - ### Value

    public Value(String text)
    Create string value
    Parameters:
      `text` -

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`