Up

# NSJSONSerialization class documentation

### Authors

David Chisnall (`github@theravensnest.org`)

Date: Generated at 2025-02-13 06:02:40 +0000

Copyright: (C) 2011-2021 Free Software Foundation, Inc.

# Software documentation for the NSJSONSerialization class

## NSJSONSerialization : NSObject

> Declared in:
>   Foundation/NSJSONSerialization.h

Availability: OpenStep
NSJSONSerialization implements serializing and deserializing acyclic object graphs in JSON.
Method summary

- +JSONObjectWithData:options:error:
- +JSONObjectWithStream:options:error:
- +dataWithJSONObject:options:error:
- +isValidJSONObject:
- +writeJSONObject:toStream:options:error:

### JSONObjectWithData: options: error:

+ (id) JSONObjectWithData: (NSData*)data options: (NSJSONReadingOptions)opt error: (NSError**)error;
Availability: OpenStep
Description forthcoming.

### JSONObjectWithStream: options: error:

+ (id) JSONObjectWithStream: (NSInputStream*)stream options: (NSJSONReadingOptions)opt error: (NSError**)error;
Availability: OpenStep
Description forthcoming.

### dataWithJSONObject: options: error:

+ (NSData*) dataWithJSONObject: (id)obj options: (NSJSONWritingOptions)opt error: (NSError**)error;
Availability: OpenStep
Description forthcoming.

### isValidJSONObject:

+ (BOOL) isValidJSONObject: (id)obj;
Availability: OpenStep
Description forthcoming.

### writeJSONObject: toStream: options: error:

+ (NSInteger) writeJSONObject: (id)obj toStream: (NSOutputStream*)stream options: (NSJSONWritingOptions)opt error: (NSError**)error;
Availability: OpenStep
Description forthcoming.

Up