> 2017/07/09 20:00、David Adams via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> {
>  "date":"2017-01-01",
>  "items_total": 37,
>  "request_max": 12,
>  "request_min: 0
> }

an object is not just an opaque container of JSON string.

a date value is converted to ISO string (so it is larger, if you focus on the 
size),
a time value is cast to milliseconds as real (again, it is larger),
as is an integer value.

having said that, size (vs. text) is probably not that significant.

arrays are converted to containers (the new type in 16R4 where an array can 
have variable types for each element),
which is why you can not "Get type" the type of array in an object.
the type if the array is "object array (pre 16R4)" or "container (16R4)",
it is considered just a coincidence that all elements happen to share the same 
type.

like other BLOBs (picture, text, BLOB),
you can also set the object field to store its data as an external file.



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to