Skip to content

MySQL_GetJSONValueFloat

imshooter edited this page Nov 3, 2026 · 1 revision

A value of a JSON cell as a float.

A value that does not exist, is null, or is an object or an array leaves value as it was.

native bool:MySQL_GetJSONValueFloat(row, const field[], const key[], &Float:value);

Parameters

Parameter Description
row The row, from 0.
const field[] Name of the field.
const key[] Member of the top object or a JSON Pointer.
&Float:value Variable for the float.

Returns

  • true when the float was written.
  • false when the value does not exist or is not a number, a bool or a string.

Related

Clone this wiki locally