Abstract Wikipedia/ZObject/da
See also: Abstract Wikipedia/Function model
Denne side er på nuværende tidspunkt en kladde Mere information angående dette kan findes på diskussionssiden. Oversættelsesadministratorer: Normalt skal kladder ikke markeres til oversættelse. |
ZObject is the basic data unit in Wikifunctions. A ZObject may be a string, list of ZObjects, or a JSON object. A persistent ZObject may only be a JSON object.
The keys of JSON object are “Z#K#”, where # are positive integers, their associated values are other ZObjects.
In the list below, each type of object or key is noted “Key/Label” for convenient reference in the documentation, where the Label may be translated and not necessarily in English.
- Z1/ZObject
- Z1K1/type (Z4/Type)
- Z2/Persistent object
- Z2K1/id (Z6/streng)
- Z2K2/værdi (Z1/ZObject)
- Z2K3/label (Z12/Multilingual text)
- Z3/Key
- Z3K1/value type (Z4/Type)
- Z3K2/key id (Z6/String)
- Z3K3/label (Z12/Multilingual text)
- Z4/Type
- Z4K1/identity (Z4/Type)
- Z4K2/keys (Z10/Liste (Z3/Key) )
- Z4K3/validator (Z8/Funktion (...) )
- Z5/Fejl
- Z5K1/fejltype
- Z6/Streng
- Z6K1/string value (Z6/String)
- Z7/Function call
- Z7K1/function (Z8/Funktion)
- Others based on Z8/Function
- Z8/Funktion (generic)
- K1/argumenter (Z10/Liste (Z17/Argument declaration) )
- K2/return type (Z4/Type)
- K3/tests (Z10/Liste (Z20/Test) )
- K4/implementation (Z14/Implementation)
- K5/identity (Z8/Function)
- Z9/Reference
- Z9K1/reference ID (Z6/String)
- Z10/Liste (generic)
- K1/head
- K2/tail