[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Type](https://evolu.dev/docs/api-reference/common/Type) › Json

```ts
const Json:  brand(
  "Json",
  String,
  (value) => {
    const result = jsonToJsonValueResult(value);

    return result.ok ? ok() : result;
  },
  (error) =>
    The value ${safelyStringifyUnknownValue(error.value)} cannot be parsed into a JsonValue.,
) ;
```

Defined in: [packages/common/src/Type.ts:14242](https://github.com/evoluhq/evolu/blob/037c390af081e9944d616ff298a729515c5c5ab7/packages/common/src/Type.ts#L14242)

A [String](https://evolu.dev/docs/api-reference/common/Type/variables/String) Brand proving that its exact text parses to [JsonValue](https://evolu.dev/docs/api-reference/common/Type/variables/JsonValue).

The Brand preserves whitespace, property order, and number spelling. Convert
it to [JsonValue](https://evolu.dev/docs/api-reference/common/Type/variables/JsonValue) through [JsonValueFromJson](https://evolu.dev/docs/api-reference/common/Type/variables/JsonValueFromJson) or
[jsonToJsonValue](https://evolu.dev/docs/api-reference/common/Type/functions/jsonToJsonValue).