Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Works as Designed
-
None
-
None
-
None
-
Storage Execution
-
Fully Compatible
Description
While implementing HHVM-186 (Decimal128 support in the HHVM driver), bjori pointed out that I should name the class Decimal128 instead of Decimal.
When doing so, I noticed that the extended JSON representation, as well as the shell, do not include the specific type (128) either:
{ "field" : { "$numberDecimal" : "1234.5678" } }
|
Is there a reason why the "128" isn't included in either extendedJSON or shell wrapper object?