public class JettisonObjectProvider extends JettisonLowLevelProvider<org.codehaus.jettison.json.JSONObject>
JSONObject
.Modifier and Type | Class and Description |
---|---|
static class |
JettisonObjectProvider.App |
static class |
JettisonObjectProvider.General |
UTF8
Modifier and Type | Method and Description |
---|---|
org.codehaus.jettison.json.JSONObject |
readFrom(Class<org.codehaus.jettison.json.JSONObject> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
writeTo(org.codehaus.jettison.json.JSONObject t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
isReadable, isSupported, isWriteable
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsString
public org.codehaus.jettison.json.JSONObject readFrom(Class<org.codehaus.jettison.json.JSONObject> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException
IOException
public void writeTo(org.codehaus.jettison.json.JSONObject t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
IOException
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.