class_docstr: Namespace for string related expressions.
class_docstr_tok: ["Namespace","for","string","related","expressions","."]
docstr: Parse string values as JSON.
  
  .. deprecated:: 0.19.15
      This method has been renamed to :meth:`json_decode`.
  
  Parameters
  ----------
  dtype
      The dtype to cast the extracted value to. If None, the dtype will be
      inferred from the JSON value.
  infer_schema_length
      How many rows to parse to determine the schema.
      If `None` all rows are used.
docstr_tok: ["Parse","string","values","as","JSON",".","..","deprecated",":",":","0.19.15","This","method","has","been","renamed","to",":","meth",":","`","json_decode","`",".","Parameters","--","--","--","--","--","dtype","The","dtype","to","cast","the","extracted","value","to",".","If","None",",","the","dtype","will","be","inferred","from","the","JSON","value",".","infer_schema_length","How","many","rows","to","parse","to","determine","the","schema",".","If","`","None","`","all","rows","are","used","."]
code: def json_extract(
      self,
      dtype: PolarsDataType | None = None,
      infer_schema_length: int | None = 100,
  ) -> Expr:
      """
      Parse string values as JSON.
  
      .. deprecated:: 0.19.15
          This method has been renamed to :meth:`json_decode`.
  
      Parameters
      ----------
      dtype
          The dtype to cast the extracted value to. If None, the dtype will be
          inferred from the JSON value.
      infer_schema_length
          How many rows to parse to determine the schema.
          If `None` all rows are used.
      """
      return self.json_decode(dtype, infer_schema_length)
  
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING
  import polars._reexport
  from polars import functions
  from polars.datatypes import Date, Datetime, Int32, Time, py_type_to_dtype
  from polars.exceptions import ChronoFormatWarning
  from polars.utils._parse_expr_input import parse_as_expression
  from polars.utils._wrap import wrap_expr
  from polars.utils.deprecation import deprecate_renamed_function, deprecate_renamed_parameter, rename_use_earliest_to_ambiguous
  from polars.utils.various import find_stacklevel
label_desc: Use image node_id 50 for calling the ExprStringNameSpace obj's underlying member method code with example usage: obj.json_extract(dtype, infer_schema_length) and returns: self