Back to FabImage Library website

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

Json_KeyExistsIn_Array


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

Checks if a key exists in a JSON array.

Syntax

void fil::Json_KeyExistsIn_Array
(
	const fil::JsonData& inJson,
	const ftl::String& inKey,
	bool& outExists
)

Parameters

Name Type Default Description
Input value inJson const JsonData& Input JSON data.
Input value inKey const String& Key to check in the array.
Output value outExists bool& True if the key exists, false otherwise.