Specification: Bool (basic v2)
Profiles: basic v2
Other versions: Bool (basic v1)
The Bool data type encodes logical truth values in the basic v2 profile.
Encoding rules
- Set
_typeto"Bool". - Encode the payload under
dataas the JSON booleantrueorfalse. - Treat the namespace/version table below as the profile log for this type.
Canonical Example Payload
The following payload is taken directly from the current rosetta-stone corpus.
{
"_ns": {
"Oscar": [
"https://github.com/oscar-system/Oscar.jl",
"1.8.0-DEV-1-8dea7e5a4d0cdef038b2fa2cd018d08201b4ac07"
]
},
"_type": "Bool",
"data": true
}
Documented Profiles in This Corpus
This table records the profile/version pairs currently represented by the rosetta-stone examples for this data type. Add new rows as new systems or encoding revisions are documented.
| Profile | Version | Example | Root type |
|---|---|---|---|
| Oscar | 1.8.0-DEV-1-8dea7e5a4d0cdef038b2fa2cd018d08201b4ac07 |
Boolean | Bool |