Interface Facade<J>
- All Superinterfaces:
RawFacade<J>
Facade is a type class that describes how Jawn should construct
JSON AST elements of type J.
Facade[J] also uses FContext[J] instances, so implementors will usually want to define both.
-
Method Summary
Modifier and TypeMethodDescriptionarrayContext(int index) jfalse()jfalse(int index) jnull()jnull(int index) jnum(CharSequence s, int decIndex, int expIndex) jnum(CharSequence s, int decIndex, int expIndex, int index) jstring(CharSequence s, int index) jtrue()jtrue(int index) objectContext(int index) singleContext(int index)
-
Method Details
-
arrayContext
RawFContext<J> arrayContext() -
arrayContext
- Specified by:
arrayContextin interfaceRawFacade<J>
-
jfalse
J jfalse() -
jfalse
-
jnull
J jnull() -
jnull
-
jnum
-
jnum
-
jstring
-
jstring
-
jtrue
J jtrue() -
jtrue
-
objectContext
RawFContext<J> objectContext() -
objectContext
- Specified by:
objectContextin interfaceRawFacade<J>
-
singleContext
RawFContext<J> singleContext() -
singleContext
- Specified by:
singleContextin interfaceRawFacade<J>
-