Class JSONRecord


  • public class JSONRecord
    extends Record
    This class is a specific implementation of a record for JSON. Every record corresponds with a JSON object in a data source.
    • Constructor Detail

      • JSONRecord

        public JSONRecord​(Object document,
                          String path)
    • Method Detail

      • get

        public List<Object> get​(String value)
        This method returns the objects for a reference (JSONPath) in the record.
        Specified by:
        get in class Record
        Parameters:
        value - the reference for which objects need to be returned.
        Returns:
        a list of objects for the reference.