wjson
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
- class Objecttrait Anyclass Objecttrait Matchableclass Any
- Self type
- JSON.type
Json Pattern DSL
Json Pattern DSL
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait RegexParserstrait Parsersclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- JsPatternParser.type
Json Model ADT
Json Model ADT
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
type class for JsValue Mapping
type class for JsValue Mapping
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object given_JsValueMapper_BigDecimal.typeobject given_JsValueMapper_BigInt.typeobject given_JsValueMapper_BigInteger.typeobject given_JsValueMapper_Boolean.typeobject given_JsValueMapper_Byte.typeobject given_JsValueMapper_Double.typeobject given_JsValueMapper_Float.typeobject given_JsValueMapper_Int.typeobject given_JsValueMapper_JsArray.typeobject given_JsValueMapper_JsBoolean.typeobject given_JsValueMapper_JsNumber.typeobject given_JsValueMapper_JsObject.typeobject given_JsValueMapper_JsString.typeobject given_JsValueMapper_JsValue.typeobject given_JsValueMapper_Long.typeobject given_JsValueMapper_Short.typeobject given_JsValueMapper_String.typeobject jmBigDecimal.type
Best Practice for Case Class Json Mapping:
Best Practice for Case Class Json Mapping:
- make the case class
derives JsValueMapper
. - or declare a given JsValueMaper[T] for the case class
otherwise, every time you use API which using a JsValueMapper[T], a new JsValueMapper[T] will be
created via the JsValueMapper.given_JsValueMapper_T macro. this is an expensive
operation, every
macro expansion will generate an anonumous implementation class. so, there will be a lot of classes
in the compilation and increase the compile time, the output jar file will be large.
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- JsValueMapper.type
Macro to generate a JsValueMapper for a given case class.
Macro to generate a JsValueMapper for a given case class.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- JsValueMapperMacro.type
Created by wangzx on 15/7/6.
Created by wangzx on 15/7/6.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Fast, no-dependency parser for JSON as defined by http://tools.ietf.org/html/rfc4627.
Fast, no-dependency parser for JSON as defined by http://tools.ietf.org/html/rfc4627.
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- JsonParser.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- ParserInput.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- RejsonMatcher.type
rejson is a pattern language for JSON
rejson is a pattern language for JSON
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any