# `Fn_json_extract` (function) > 根据key值获取json字符串值 - **Type:** FUNCTION - **Returns:** `text` - **Deterministic:** NO - **SQL data access:** CONTAINS SQL - **Created:** 2026-04-27 19:10:14 - **Last altered:** 2026-04-27 19:10:14 ## Parameters | # | Mode | Name | Type | |---|---|---|---| | 0 | RETURN | `` | `text` | | 1 | IN | `p_jsonstr` | `text` | | 2 | IN | `p_key` | `varchar(255)` | ## Body _Body is not pre-cached. To inspect: `mysql --defaults-file=~/.my.cnf -e 'SHOW CREATE FUNCTION `Fn_json_extract`'`._ ## Narrative _No human-written narrative yet._