public interface Transfer
service provider interface responsible for
conversion of JSON objects to Java ones and vice-versa.
Since introduction of
technology identifiers one can choose between
different background implementations to handle the conversion and
communication requests. The known providers include
org.netbeans.html:ko4j module which registers
a native browser implementation called xhr, and a
org.netbeans.html:ko-ws-tyrus module which registers
Java based implementation named tyrus.
|Modifier and Type
|Method and Description
Starts the JSON or JSONP query.
Reads content of a stream and creates its JSON representation.
obj - the object to inspect
props - the names of properties to check on the object
values - array of the same length as
props should be
filled by values of properties on the
obj. If a property is
not defined, a
null value should be stored in the array
Object toJSON(InputStream is) throws IOException
method. If the stream contains representation or a JSON array,
an Object should be returned - each of its members should, by itself
be acceptable argument to
is - input stream to read data from
IOException - if something goes wrong
void loadJSON(JSONCall call)
call - description of the call to make
Copyright © 2021 The Apache Software Foundation. All rights reserved.