Difference between revisions of "Json"

From Wiki at Neela Nurseries
Jump to: navigation, search
m (Add section "What Is Allowed In JSON Key".)
m (Add reference to Zephyr latest DTS bindings syntax documentation.)
 
Line 5: Line 5:
 
*  https://www.w3schools.com/whatis/whatis_json.asp JSON
 
*  https://www.w3schools.com/whatis/whatis_json.asp JSON
  
== What Is Allowed In JSON Key ==
+
== [[#top|^]] What Is Allowed In JSON Key ==
  
 
https://github.com/quarkusio/quarkus/issues/8568
 
https://github.com/quarkusio/quarkus/issues/8568
Line 20: Line 20:
 
</pre>
 
</pre>
  
 +
TODO:  find out what `child-binding` key is in a bindings file written in YAML, for Zephyr based project.
 +
 +
<!-- odne komentar -->
 +
== [[#top|^]] Child-binding YAML Property ==
 +
 +
This may only apply to Zephyr RTOS based projects, where `child-binding` is part of DTS bindings syntax.  Detailed information on this topic at:
  
TODO: find out what `child-binding` key is in a bindings file written in YAML, for Zephyr based project.
+
*  https://docs.zephyrproject.org/latest/build/dts/bindings-syntax.html#child-binding
  
 
<!-- odne komentar -->
 
<!-- odne komentar -->

Latest revision as of 19:40, 22 February 2024

JSON notes

As a starting point, external reference at W3C Schools talks about what is JSON:

^ What Is Allowed In JSON Key

https://github.com/quarkusio/quarkus/issues/8568

Excerpt from above github issue for to-us-unknown-project-quarkusio, issue which touches on JSON syntax or structural matter. D. M. Lloyd says "A YAML key cannot contain a simple value and subkeys", and gives the following corrected syntax with a key named tilda to hold what another user was expressing as a simple value to the fourth nested subkey:

quarkus:
  log:
    console:
      json:
        ~: true
        date-format: "default"

TODO: find out what `child-binding` key is in a bindings file written in YAML, for Zephyr based project.

^ Child-binding YAML Property

This may only apply to Zephyr RTOS based projects, where `child-binding` is part of DTS bindings syntax. Detailed information on this topic at: