# tf.raw_ops.DecodeJSONExample

<br />

Convert JSON-encoded Example records to binary protocol buffer strings.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.DecodeJSONExample`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodeJSONExample)

<br />

    tf.raw_ops.DecodeJSONExample(
        json_examples, name=None
    )

This op translates a tensor containing Example records, encoded using
the [standard JSON
mapping](https://developers.google.com/protocol-buffers/docs/proto3#json),
into a tensor containing the same records encoded as binary protocol
buffers. The resulting tensor can then be fed to any of the other
Example-parsing ops.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `json_examples` | A `Tensor` of type `string`. Each string is a JSON object serialized according to the JSON mapping of the Example proto. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. ||

<br />