JSON.GetObjectNameList
----------------------

Queries names of items in an object.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [JSON](component_JSON.md) | [4.0](newinversion40.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "JSON.GetObjectNameList"; JSON ) 

**MBS**( **"JSON.GetObjectNameList";** /\* Queries names of items in an object. \*/  
**$JSON**) /\* A JSON text or reference.e.g. "{\\"a\\":\\"b\\", \\"c\\":\\"d\\"}" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| JSON | A JSON text or reference. | "{\\"a\\":\\"b\\", \\"c\\":\\"d\\"}" |

### Result

Returns name of items as list.

### Description

Queries names of items in an object.  
### Examples

Gets first object item's name:

 MBS ( "JSON.GetObjectNameList"; "{\\"a\\":\\"b\\", \\"c\\":\\"d\\"}" )  
// return a and b as list.  
<small>  
Example result:   
a  
c</small>### See also

- [JSON.GetObjectName](JSONGetObjectName.md)

### Blog Entries

- [With JSON in excellent form](https://www.mbsplugins.de/archive/2019-11-16/With_JSON_in_excellent_form/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 5.4pr7](https://www.mbsplugins.de/archive/2015-11-21/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 5/2020, Seite 18](https://filemaker-magazin.de/neuigkeit/4110-Appetithappen-FMM_202005)

This function checks for a license.

Created 18th August 2014 , last changed 17th December 2025

  
[JSON.GetObjectName](JSONGetObjectName.md) - [JSON.GetObjectSize](JSONGetObjectSize.md)

[HTML Version](JSONGetObjectNameList.shtml)