Back to FabImage Library website

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

Json_GetValue_FromObject_String_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 String from a JSON object or nil.

Syntax

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

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 outString Conditional<String>& Value obtained from the object or nil.