Difference between revisions of "Json"

From Wiki at Neela Nurseries
Jump to: navigation, search
(Create page "JSON notes".)
 
m (Add reference to Zephyr latest DTS bindings syntax documentation.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
JSON notes
 
JSON notes
 +
 +
As a starting point, external reference at W3C Schools talks about what is JSON:
 +
 +
*  https://www.w3schools.com/whatis/whatis_json.asp JSON
 +
 +
== [[#top|^]] What Is Allowed In JSON Key ==
  
 
https://github.com/quarkusio/quarkus/issues/8568
 
https://github.com/quarkusio/quarkus/issues/8568
Line 14: Line 20:
 
</pre>
 
</pre>
  
 +
TODO:  find out what `child-binding` key is in a bindings file written in YAML, for Zephyr based project.
  
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:
 +
 
 +
*  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: