12.18.8 JSON Utility FunctionsJSON实用函数

This section documents utility functions that act on JSON values, or strings that can be parsed as JSON values. 本节介绍作用于JSON值的实用程序函数,或者可以解析为JSON值的字符串。JSON_PRETTY() prints out a JSON value in a format that is easy to read. JSON_PRETTY()以易于阅读的格式打印JSON值。JSON_STORAGE_SIZE() and JSON_STORAGE_FREE() show, respectively, the amount of storage space used by a given JSON value and the amount of space remaining in a JSON column following a partial update.JSON_STORAGE_SIZE()JSON_STORAGE_FREE()分别显示给定JSON值使用的存储空间量和部分更新后JSON列中剩余的空间量。