Main Content
putData
Class: matlab.net.http.io.JSONConsumer
Namespace: matlab.net.http.io
Save next buffer of JSON data for JSONConsumer
Syntax
[len,stop] = putData(consumer,data)
Description
[
passes data to the superclass to convert the len
,stop
] = putData(consumer
,data
)uint8
buffer to a
string, and then uses jsondecode
to decode it and insert it
into Response.Body.Data
.
This method might not store the decoded JSON data until the entire message has been read.
This method is an overridden method of putData
. You can override this method to examine or alter
the uint8
data before conversion, or the JSON data after
decoding.
Input Arguments
Output Arguments
Version History
Introduced in R2018a