Back to FabImage Library website

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

Json_GetValue_FromObject_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 object or nil.

Syntax

void fil::Json_GetValue_FromObject_Array_OrNil
(
	const fil::JsonData& inJson,
	const ftl::String& inKey,
	ftl::Conditional<fil::JsonData>& outArray
)

Parameters

Name Type Default Description
Input value inJson const JsonData& Input JSON data.
Input value inKey const String& Key of the value to get from the object.
Output value outArray Conditional<JsonData>& Value obtained from the object or nil.