java.lang.Object
com.amazon.ionpathextraction.pathcomponents.PathComponent
com.amazon.ionpathextraction.pathcomponents.Text

public final class Text extends PathComponent
Text path component matches struct field names, example.
 data: {foo: [1,2,3], bar: { baz: [1] }}

 search path | callback invoked with reader at
 ------------|--------------------
  (foo)      | [1, 2, 3]
  (bar baz)  | [1]
 
  • Constructor Details

    • Text

      public Text(String fieldName, String[] annotations)
      Constructor.
      Parameters:
      fieldName - component field name.
  • Method Details