reactivemongo.play.json.compat.ValueConverters$
See theValueConverters companion trait See compat$ and ValueConverters .
Note that as there is not a JSON equivalent for each BSON value
(BSONDateTime
, or even distinction between BSON long/int).
So for example, using the default JSON handlers,
a same Long
property can be written in some documents
as BSON long (NumberLong
), and in some other as BSON integer
(see ValueConverters.toNumber ), which is ok to read all these documents,
but can impact the MongoDB queries (same for date/time values that
will be serialized as BSON string, rather than BSON date/time or timestamp).
Attributes Companion: trait Graph Reset zoom Hide graph Show graph
Supertypes class Object
trait Matchable
class Any
Self type Members list Concise view
Type members
JSON representation for numbers
Attributes Inherited from: TemporalObjectConverters (hidden) Value members
Attributes Inherited from: SharedValueConverters (hidden) Implicits
See syntax :
{ "$binary": { "base64": "<payload>", "subType": "<t>" } }
Attributes Inherited from: SharedValueConverters (hidden)
Attributes Inherited from: SharedValueConverters (hidden)
See syntax :
{ "$date": { "$numberLong": "<millis>" } }
Attributes Inherited from: TemporalObjectConverters (hidden)
Attributes Inherited from: SharedValueConverters (hidden)
Attributes Inherited from: SharedValueConverters (hidden)
See syntax :
{ "$code": "<javascript>", "$scope": { } }
Attributes Inherited from: SharedValueConverters (hidden)
Attributes Inherited from: FromValueCompat (hidden)
Attributes Inherited from: FromValueCompat (hidden)
Attributes Inherited from: FromValueCompat (hidden)
Attributes Inherited from: SharedValueConverters (hidden)
See syntax :
{ "$regularExpression": { "pattern": "<regexPattern>", "options": "<options>" } }
Attributes Inherited from: SharedValueConverters (hidden)
See syntax :
{ "$timestamp": {"t": <t>, "i": <i>} }
Attributes Inherited from: TemporalObjectConverters (hidden)
See syntax :
{ "$undefined": true }
Attributes Inherited from: FromValueCompat (hidden)
Attributes Inherited from: LowPriority1Converters (hidden)
Attributes Inherited from: SharedValueConvertersLowPriority1 (hidden)
Attributes Inherited from: ToValueCompat (hidden)
Attributes Inherited from: SharedValueConverters (hidden)
Attributes Inherited from: SharedValueConvertersLowPriority1 (hidden)