View Source ExOciSdk.JSON.Native (ex_oci_sdk v0.2.2)
Implementation of the JSON behavior using Elixir's built-in JSON module.
This adapter provides support for the native JSON module introduced in Elixir 1.18, offering improved performance over external libraries.
Requirements
- Elixir 1.18.0 or later
- Erlang/OTP 27 or later
Summary
Functions
Implementation of ExOciSdk.JSON.decode!/2
using native JSON.
Define the JSON native parser/generator as a dependency for this module
Implementation of ExOciSdk.JSON.encode_to_iodata!/2
using native JSON.
Functions
@spec decode!(iodata(), ExOciSdk.JSON.json_options()) :: map() | no_return()
Implementation of ExOciSdk.JSON.decode!/2
using native JSON.
@spec deps() :: atom()
Define the JSON native parser/generator as a dependency for this module
@spec encode_to_iodata!(map(), ExOciSdk.JSON.json_options()) :: iodata() | no_return()
Implementation of ExOciSdk.JSON.encode_to_iodata!/2
using native JSON.