Constructs a new JsonParseTask.
Optionalproperties: IJsonParseTaskProperties to set
The technique that will be used to aggregate the results if walking the specified path returns multiple numerical results.
JSONPath formatted path to the element. https://t.ly/uLtw https://www.npmjs.com/package/jsonpath-plus
Converts this JsonParseTask to JSON.
JSON object
StaticcreateCreates a new JsonParseTask instance using the specified properties.
Optionalproperties: IJsonParseTaskProperties to set
JsonParseTask instance
StaticdecodeDecodes a JsonParseTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
JsonParseTask
StaticdecodeDecodes a JsonParseTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
JsonParseTask
StaticencodeEncodes the specified JsonParseTask message. Does not implicitly {@apilink oracle_job.OracleJob.JsonParseTask.verify|verify} messages.
JsonParseTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified JsonParseTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.JsonParseTask.verify|verify} messages.
JsonParseTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a JsonParseTask message from a plain object. Also converts values to their respective internal types.
Plain object
JsonParseTask
StaticgetGets the default type url for JsonParseTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a JsonParseTask message. Also converts values to other types if specified.
JsonParseTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a JsonParseTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
The adapter walks the path specified and returns the value found at that result. If returning JSON data from the HttpGet or HttpPost adapters, you must use this adapter to parse the response.
Input: String representation of a JSON object.
Returns: A numerical result.
Example: Parses the price field from a JSON object