Back to FabImage Library website

You are here: Start » Function Reference » All Functions » Json » Json_GetValue_FromArray_Array_OrNil

Json_GetValue_FromArray_Array_OrNil


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: fil
Module: FoundationLite

Gets a value of type Array from a JSON array or nil.

Syntax

void fil::Json_GetValue_FromArray_Array_OrNil
(
	const fil::JsonData& inJson,
	int inIndex,
	ftl::Conditional<fil::JsonData>& outArray
)

Parameters

Name Type Range Default Description
Input value inJson const JsonData& Input JSON data.
Input value inIndex int 0 - 0 Index of the value to get from the array.
Output value outArray Conditional<JsonData>& Value obtained from the array or nil.