Skip navigation links
C D F G H I J M N P R S T U W 

C

clear() - Method in class io.protostuff.JsonXOutput
 

D

DEFAULT_JSON_FACTORY - Static variable in class io.protostuff.JsonIOUtil
The default json factory for creating json parsers and generators.
DEFAULT_SMILE_FACTORY - Static variable in class io.protostuff.SmileIOUtil
The default smile factory for creating smile parsers and generators.

F

Factory() - Constructor for class io.protostuff.JsonIOUtil.Factory
 
Factory() - Constructor for class io.protostuff.SmileIOUtil.Factory
 
FIX_UNSIGNED_INT - Static variable in class io.protostuff.JsonOutput
 

G

getGeneratorFeatures() - Method in class io.protostuff.JsonIOUtil.Factory
Returns the generator feature flags.
getGeneratorFeatures() - Method in class io.protostuff.SmileIOUtil.Factory
Returns the generator feature flags.
getLastNumber() - Method in class io.protostuff.JsonInput
Gets the last field number read.
getLastNumber() - Method in class io.protostuff.JsonOutput
Gets the last field number written.
getLastNumber() - Method in class io.protostuff.JsonXOutput
Gets the last field number written.
getParserFeatures() - Method in class io.protostuff.JsonIOUtil.Factory
Returns the parser feature flags.
getParserFeatures() - Method in class io.protostuff.SmileIOUtil.Factory
Returns the parser feature flags.
getRootByteSymbols() - Method in class io.protostuff.JsonIOUtil.Factory
Needed by jackson's internal utf8 strema parser.
getRootByteSymbols() - Method in class io.protostuff.SmileIOUtil.Factory
Needed by jackson's internal utf8 stream parser.
getSmileGeneratorFeatures() - Method in class io.protostuff.SmileIOUtil.Factory
Returns the smile-specific generator feature flags.
getSmileParserFeatures() - Method in class io.protostuff.SmileIOUtil.Factory
Returns the smile-specific parser feature flags.

H

handleUnknownField(int, Schema<T>) - Method in class io.protostuff.JsonInput
 

I

io.protostuff - package io.protostuff
 
isLastRepeated() - Method in class io.protostuff.JsonInput
Returns true if the last read field was a repeated field.
isLastRepeated() - Method in class io.protostuff.JsonOutput
Returns true if the last written field was a repeated field.
isLastRepeated() - Method in class io.protostuff.JsonXOutput
Returns true if the last written field was a repeated field.
isNumeric() - Method in class io.protostuff.JsonInput
Returns whether the incoming messages' field names are numeric.
isNumeric() - Method in class io.protostuff.JsonOutput
Returns whether the incoming messages' field names are numeric.
isNumeric() - Method in class io.protostuff.JsonXOutput
Returns whether the incoming messages' field names are numeric.

J

JsonInput - Class in io.protostuff
An input used for reading data with json format.
JsonInput(JsonParser) - Constructor for class io.protostuff.JsonInput
 
JsonInput(JsonParser, boolean) - Constructor for class io.protostuff.JsonInput
 
JsonInputException - Exception in io.protostuff
Thrown when a json-encoded protobuf message being parsed is invalid in some way.
JsonInputException(String) - Constructor for exception io.protostuff.JsonInputException
 
JsonIOUtil - Class in io.protostuff
Utility for the JSON serialization/deserialization of messages and objects tied to a schema.
JsonIOUtil.Factory - Class in io.protostuff
A custom factory simply to expose certain fields.
JsonOutput - Class in io.protostuff
An output used for writing data with json format.
JsonOutput(JsonGenerator) - Constructor for class io.protostuff.JsonOutput
 
JsonOutput(JsonGenerator, boolean) - Constructor for class io.protostuff.JsonOutput
 
JsonOutput(JsonGenerator, boolean, Schema<?>) - Constructor for class io.protostuff.JsonOutput
 
JsonXIOUtil - Class in io.protostuff
Json serialization via JsonXOutput.
JsonXIOUtil() - Constructor for class io.protostuff.JsonXIOUtil
 
JsonXOutput - Class in io.protostuff
An optimized json output which is efficient in writing numeric keys and pre-encoded utf8 strings (in byte array form).
JsonXOutput(LinkedBuffer, boolean, Schema<?>) - Constructor for class io.protostuff.JsonXOutput
 
JsonXOutput(LinkedBuffer, OutputStream, WriteSession.FlushHandler, int, boolean, Schema<?>) - Constructor for class io.protostuff.JsonXOutput
 
JsonXOutput(LinkedBuffer, OutputStream, boolean, Schema<?>) - Constructor for class io.protostuff.JsonXOutput
 

M

mergeFrom(byte[], T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Merges the message with the byte array using the given schema.
mergeFrom(byte[], int, int, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Merges the message with the byte array using the given schema.
mergeFrom(InputStream, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Merges the message from the InputStream using the given schema.
mergeFrom(InputStream, T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonIOUtil
Merges the message from the InputStream using the given schema.
mergeFrom(Reader, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Merges the message from the Reader using the given schema.
mergeFrom(JsonParser, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Merges the message from the JsonParser using the given schema.
mergeFrom(byte[], T, Schema<T>, boolean) - Static method in class io.protostuff.SmileIOUtil
Merges the message with the byte array using the given schema.
mergeFrom(byte[], int, int, T, Schema<T>, boolean) - Static method in class io.protostuff.SmileIOUtil
Merges the message with the byte array using the given schema.
mergeFrom(InputStream, T, Schema<T>, boolean) - Static method in class io.protostuff.SmileIOUtil
Merges the message from the InputStream using the given schema.
mergeFrom(InputStream, T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.SmileIOUtil
Merges the message from the InputStream using the given schema.
mergeObject(T, Schema<T>) - Method in class io.protostuff.JsonInput
 

N

newJsonGenerator(OutputStream, byte[]) - Static method in class io.protostuff.JsonIOUtil
Creates a UTF8JsonGenerator for the outputstream with the supplied buf outBuffer to use.
newJsonParser(InputStream, byte[], int, int) - Static method in class io.protostuff.JsonIOUtil
Creates a UTF8StreamJsonParser from the inputstream with the supplied buf inBuffer to use.
newPipe(byte[], boolean) - Static method in class io.protostuff.JsonIOUtil
Creates a json pipe from a byte array.
newPipe(byte[], int, int, boolean) - Static method in class io.protostuff.JsonIOUtil
Creates a json pipe from a byte array.
newPipe(InputStream, boolean) - Static method in class io.protostuff.JsonIOUtil
Creates a json pipe from an InputStream.
newPipe(Reader, boolean) - Static method in class io.protostuff.JsonIOUtil
Creates a json pipe from a Reader.
newPipe(JsonParser, boolean) - Static method in class io.protostuff.JsonIOUtil
Creates a json pipe from a JsonParser.
newPipe(byte[], boolean) - Static method in class io.protostuff.SmileIOUtil
Creates a smile pipe from a byte array.
newPipe(byte[], int, int, boolean) - Static method in class io.protostuff.SmileIOUtil
Creates a smile pipe from a byte array.
newPipe(InputStream, boolean) - Static method in class io.protostuff.SmileIOUtil
Creates a smile pipe from an InputStream.
newSmileGenerator(OutputStream, byte[]) - Static method in class io.protostuff.SmileIOUtil
Creates a SmileGenerator for the outputstream with the supplied buf outBuffer to use.
newSmileParser(InputStream, byte[], int, int) - Static method in class io.protostuff.SmileIOUtil
Creates a SmileParser from the inputstream with the supplied buf inBuffer to use.
numeric - Variable in class io.protostuff.JsonInput
If true, the field number will be used on json keys.

P

parseListFrom(InputStream, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Parses the messages from the stream using the given schema.
parseListFrom(InputStream, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonIOUtil
Parses the messages from the stream using the given schema.
parseListFrom(Reader, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Parses the messages from the reader using the given schema.
parseListFrom(JsonParser, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Parses the messages from the parser using the given schema.
parseListFrom(InputStream, Schema<T>, boolean) - Static method in class io.protostuff.SmileIOUtil
Parses the messages from the stream using the given schema.
parseListFrom(InputStream, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.SmileIOUtil
Parses the messages from the stream using the given schema.
parser - Variable in class io.protostuff.JsonInput
The wrapped json parser.

R

readBool() - Method in class io.protostuff.JsonInput
 
readByteArray() - Method in class io.protostuff.JsonInput
 
readByteBuffer() - Method in class io.protostuff.JsonInput
Reads a byte array/ByteBuffer value.
readBytes() - Method in class io.protostuff.JsonInput
 
readDouble() - Method in class io.protostuff.JsonInput
 
readEnum() - Method in class io.protostuff.JsonInput
 
readFieldNumber(Schema<T>) - Method in class io.protostuff.JsonInput
 
readFixed32() - Method in class io.protostuff.JsonInput
 
readFixed64() - Method in class io.protostuff.JsonInput
 
readFloat() - Method in class io.protostuff.JsonInput
 
readInt32() - Method in class io.protostuff.JsonInput
 
readInt64() - Method in class io.protostuff.JsonInput
 
readSFixed32() - Method in class io.protostuff.JsonInput
 
readSFixed64() - Method in class io.protostuff.JsonInput
 
readSInt32() - Method in class io.protostuff.JsonInput
 
readSInt64() - Method in class io.protostuff.JsonInput
 
readString() - Method in class io.protostuff.JsonInput
 
readUInt32() - Method in class io.protostuff.JsonInput
 
readUInt64() - Method in class io.protostuff.JsonInput
 
reset() - Method in class io.protostuff.JsonInput
Resets this input.
reset() - Method in class io.protostuff.JsonOutput
Resets this output for re-use.
reset() - Method in class io.protostuff.JsonXOutput
Resets this output for re-use.

S

SmileIOUtil - Class in io.protostuff
Smile IO utilities for messages.
SmileIOUtil.Factory - Class in io.protostuff
A custom factory simply to expose certain fields.

T

toByteArray(T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Serializes the message into a byte array using the given schema.
toByteArray(T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonIOUtil
Serializes the message into a byte array using the given schema.
toByteArray(T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonXIOUtil
 
toByteArray(T, Schema<T>, boolean) - Static method in class io.protostuff.SmileIOUtil
Serializes the message into a byte array using the given schema.
toByteArray(T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.SmileIOUtil
Serializes the message into a byte array using the given schema.
transferByteRangeTo(Output, boolean, int, boolean) - Method in class io.protostuff.JsonInput
 

U

updateLast(Schema<?>, Schema<?>) - Method in class io.protostuff.JsonOutput
 
updateLast(Schema<?>, Schema<?>) - Method in class io.protostuff.JsonXOutput
 
use(Schema<?>) - Method in class io.protostuff.JsonOutput
Before serializing a message/object tied to a schema, this should be called.
use(Schema<?>) - Method in class io.protostuff.JsonXOutput
Before serializing a message/object tied to a schema, this should be called.

W

writeBool(int, boolean, boolean) - Method in class io.protostuff.JsonOutput
 
writeBool(int, boolean, boolean) - Method in class io.protostuff.JsonXOutput
 
writeByteArray(int, byte[], boolean) - Method in class io.protostuff.JsonOutput
 
writeByteArray(int, byte[], boolean) - Method in class io.protostuff.JsonXOutput
 
writeByteRange(boolean, int, byte[], int, int, boolean) - Method in class io.protostuff.JsonOutput
 
writeByteRange(boolean, int, byte[], int, int, boolean) - Method in class io.protostuff.JsonXOutput
 
writeBytes(int, ByteString, boolean) - Method in class io.protostuff.JsonOutput
 
writeBytes(int, ByteBuffer, boolean) - Method in class io.protostuff.JsonOutput
Writes a ByteBuffer field.
writeBytes(int, ByteString, boolean) - Method in class io.protostuff.JsonXOutput
 
writeBytes(int, ByteBuffer, boolean) - Method in class io.protostuff.JsonXOutput
Writes a ByteBuffer field.
writeDouble(int, double, boolean) - Method in class io.protostuff.JsonOutput
 
writeDouble(int, double, boolean) - Method in class io.protostuff.JsonXOutput
 
writeEnum(int, int, boolean) - Method in class io.protostuff.JsonOutput
 
writeEnum(int, int, boolean) - Method in class io.protostuff.JsonXOutput
 
writeFixed32(int, int, boolean) - Method in class io.protostuff.JsonOutput
 
writeFixed32(int, int, boolean) - Method in class io.protostuff.JsonXOutput
 
writeFixed64(int, long, boolean) - Method in class io.protostuff.JsonOutput
 
writeFixed64(int, long, boolean) - Method in class io.protostuff.JsonXOutput
 
writeFloat(int, float, boolean) - Method in class io.protostuff.JsonOutput
 
writeFloat(int, float, boolean) - Method in class io.protostuff.JsonXOutput
 
writeInt32(int, int, boolean) - Method in class io.protostuff.JsonOutput
 
writeInt32(int, int, boolean) - Method in class io.protostuff.JsonXOutput
 
writeInt64(int, long, boolean) - Method in class io.protostuff.JsonOutput
 
writeInt64(int, long, boolean) - Method in class io.protostuff.JsonXOutput
 
writeListTo(OutputStream, List<T>, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Serializes the messages into the stream using the given schema.
writeListTo(OutputStream, List<T>, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonIOUtil
Serializes the messages into the stream using the given schema.
writeListTo(Writer, List<T>, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Serializes the messages into the writer using the given schema.
writeListTo(JsonGenerator, List<T>, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Serializes the messages into the generator using the given schema.
writeListTo(LinkedBuffer, List<T>, Schema<T>, boolean) - Static method in class io.protostuff.JsonXIOUtil
Serializes the messages into the LinkedBuffer using the given schema.
writeListTo(OutputStream, List<T>, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonXIOUtil
Serializes the messages into the stream using the given schema with the supplied buffer.
writeListTo(OutputStream, List<T>, Schema<T>, boolean) - Static method in class io.protostuff.SmileIOUtil
Serializes the messages into the stream using the given schema.
writeListTo(OutputStream, List<T>, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.SmileIOUtil
Serializes the messages into the stream using the given schema.
writeObject(int, T, Schema<T>, boolean) - Method in class io.protostuff.JsonOutput
 
writeObject(int, T, Schema<T>, boolean) - Method in class io.protostuff.JsonXOutput
 
writeSFixed32(int, int, boolean) - Method in class io.protostuff.JsonOutput
 
writeSFixed32(int, int, boolean) - Method in class io.protostuff.JsonXOutput
 
writeSFixed64(int, long, boolean) - Method in class io.protostuff.JsonOutput
 
writeSFixed64(int, long, boolean) - Method in class io.protostuff.JsonXOutput
 
writeSInt32(int, int, boolean) - Method in class io.protostuff.JsonOutput
 
writeSInt32(int, int, boolean) - Method in class io.protostuff.JsonXOutput
 
writeSInt64(int, long, boolean) - Method in class io.protostuff.JsonOutput
 
writeSInt64(int, long, boolean) - Method in class io.protostuff.JsonXOutput
 
writeString(int, String, boolean) - Method in class io.protostuff.JsonOutput
 
writeString(int, String, boolean) - Method in class io.protostuff.JsonXOutput
 
writeTo(OutputStream, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Serializes the message into an OutputStream using the given schema.
writeTo(OutputStream, T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonIOUtil
Serializes the message into an OutputStream using the given schema.
writeTo(Writer, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Serializes the message into a Writer using the given schema.
writeTo(JsonGenerator, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonIOUtil
Serializes the message into a JsonGenerator using the given schema.
writeTo(LinkedBuffer, T, Schema<T>, boolean) - Static method in class io.protostuff.JsonXIOUtil
Serializes the message into a LinkedBuffer via JsonXOutput using the given schema with the supplied buffer.
writeTo(OutputStream, T, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonXIOUtil
Serializes the message into an OutputStream via JsonXOutput with the supplied buffer.
writeTo(OutputStream, T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.JsonXIOUtil
Serializes the message into an OutputStream via JsonXOutput using the given schema.
writeTo(OutputStream, T, Schema<T>, boolean) - Static method in class io.protostuff.SmileIOUtil
Serializes the message into an OutputStream using the given schema.
writeTo(OutputStream, T, Schema<T>, boolean, LinkedBuffer) - Static method in class io.protostuff.SmileIOUtil
Serializes the message into an OutputStream using the given schema.
writeUInt32(int, int, boolean) - Method in class io.protostuff.JsonOutput
 
writeUInt32(int, int, boolean) - Method in class io.protostuff.JsonXOutput
 
writeUInt64(int, long, boolean) - Method in class io.protostuff.JsonOutput
 
writeUInt64(int, long, boolean) - Method in class io.protostuff.JsonXOutput
 
C D F G H I J M N P R S T U W 
Skip navigation links

Copyright © 2009–2016. All rights reserved.