Skip to content

Commit

Permalink
Added coderabbit suggestion.
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
ChadMatsalla and coderabbitai[bot] authored Oct 25, 2024
1 parent 3527625 commit f4d6fb9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ json Component
:description: Instructions for parsing and building json within ESPHome.
:keywords: json

The ``json`` component brings json building and parsing into ESPHome functions like lambdas.
The ``json`` component enables ESPHome to work with JSON data in automations, sensors, and HTTP requests. This is particularly useful for:

- Processing API responses
- Sending structured data to external services
- Parsing configuration from JSON files

What is JSON?

JSON is a text syntax that facilitates structured data interchange between all programming languages. JSON
is a syntax of braces, brackets, colons, and commas that is useful in many contexts, profiles, and applications.
JSON stands for JavaScript Object Notation and was inspired by the object literals of JavaScript aka
ECMAScript as defined in the ECMAScript Language Specification, Third Edition.
- https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf


Example 1: Relatively complex JSON::

{
Expand Down

0 comments on commit f4d6fb9

Please sign in to comment.