And, yes, my manic stream of emails *is* very much the equivalent of an
unboxing video ;-)
"Hey guys! I'm checking out the C_OBJECT commands today, let's open the
docs!"
**
4D Internet Users Group (4D iNUG)
FAQ:
...and take the prior as a sketch. Still working out the best way to
organize type descriptors in this case. I want to be able to figure out the
raw JSON type, if it's an array, what type it goes into in 4D (most
important for arrays), and if there is any kind of extra type magic
("abstract" type)
...in 4D code, something like this for defining the base object's basic
components:
// Object_RegisterRootObject
OBRegister_RegisterObject (Object is
RootObject;1;"Object_New";"Object_ToText")
C_BOOLEAN($required)
C_BOOLEAN($optional)
$required:=True
$optional:=False
OBRegister_RegisterObject
3 matches
Mail list logo