Skip to content

Commit

Permalink
fixed missing code blocks in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mristin committed Jun 3, 2019
1 parent 87f7c7a commit 437cf9d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.rst
Expand Up @@ -47,7 +47,7 @@ minimum number of elements in arrays, pattern matching *etc*.).

The **schema** of the object graph is stored in a separate JSON file and defines
all the data types used in the object graph including the object graph itself.
The code is generated based on the schema. You define schema once and you
The code is generated based on the schema. You define schema once and
generate code in all the supported languages automatically. Schemas can be
evolved and backward compatibility is supported through optional properties.

Expand Down Expand Up @@ -417,7 +417,7 @@ You serialize back the ``pipeline`` into a JSONable by:
The ``jsonable`` can be further serialized to a string by ``json.dumps(.)``
from the standard library:

.. code-block: Python
.. code-block:: Python
text = json.dumps(jsonable)
Expand All @@ -431,23 +431,23 @@ To generate the code in different languages, invoke:

For **C++**:

.. code-block: bash
.. code-block:: bash
mapry-to cpp \
--schema /path/to/schema.json \
--outdir /path/to/cpp/code
For **Go**:

.. code-block: bash
.. code-block:: bash
mapry-to go \
--schema /path/to/schema.json \
--outdir /path/to/go/code
For **Python**:

.. code-block: bash
.. code-block:: bash
mapry-to py \
--schema /path/to/schema.json \
Expand Down

0 comments on commit 437cf9d

Please sign in to comment.