Package org.cometd.common
Interface JSONContext.Client
- All Known Implementing Classes:
JacksonJSONContextClient
,JettyJSONContextClient
- Enclosing interface:
- JSONContext
public static interface JSONContext.Client
-
Method Summary
Modifier and Type Method Description String
generate(List<Message.Mutable> messages)
String
generate(Message.Mutable message)
JSONContext.Generator
getGenerator()
JSONContext.Parser
getParser()
Message.Mutable[]
parse(InputStream stream)
Message.Mutable[]
parse(Reader reader)
Message.Mutable[]
parse(String json)
-
Method Details
-
parse
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
generate
-
generate
-
getParser
JSONContext.Parser getParser() -
getGenerator
JSONContext.Generator getGenerator()
-