Package org.apache.juneau.json
Class Json5Parser
- All Implemented Interfaces:
- AnnotationProvider,- JsonMetaProvider
Parses any valid JSON text into a POJO model.
 Content-Type  types:  application/json5, text/json5 
 application/json5 .
 
Media types
HandlesDescription
Identical toJsonParser but with the media type Notes:
- This class is thread safe and reusable.
See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.juneau.json.JsonParserJsonParser.Builder, JsonParser.StrictNested classes/interfaces inherited from class org.apache.juneau.parser.ParserParser.Null
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Json5ParserDefault parser, Accept=application/json5.Fields inherited from class org.apache.juneau.json.JsonParserDEFAULT_STRICTFields inherited from class org.apache.juneau.ContextCONTEXT_APPLY_FILTERFields inherited from interface org.apache.juneau.AnnotationProviderDISABLE_ANNOTATION_CACHING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Creates a builder from this context object.static JsonParser.Buildercreate()Creates a new builder for this object.Methods inherited from class org.apache.juneau.json.JsonParsercreateSession, getJsonBeanPropertyMeta, getJsonClassMeta, getSession, isValidateEndMethods inherited from class org.apache.juneau.parser.ReaderParsergetFileCharset, getStreamCharset, isReaderParser, propertiesMethods inherited from class org.apache.juneau.parser.ParsercanHandle, createParserBuilder, doParse, getDebugOutputLines, getListener, getMediaTypes, getPrimaryMediaType, isAutoCloseStreams, isStrict, isTrimStrings, isUnbuffered, parse, parse, parse, parse, parse, parse, parseArgs, parseIntoCollection, parseIntoMapMethods inherited from class org.apache.juneau.BeanContextablegetBeanContextMethods inherited from class org.apache.juneau.ContextcreateBuilder, firstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, init, isDebug, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.juneau.AnnotationProviderfirstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation
- 
Field Details- 
DEFAULTDefault parser, Accept=application/json5.
 
- 
- 
Constructor Details- 
Json5ParserConstructor.- Parameters:
- builder- The builder for this object.
 
 
- 
- 
Method Details- 
createCreates a new builder for this object.- Returns:
- A new builder.
 
- 
copyDescription copied from class:ContextCreates a builder from this context object.Builders are used to define new contexts (e.g. serializers, parsers) based on existing configurations. - Overrides:
- copyin class- JsonParser
- Returns:
- A new Builder object.
 
 
-