@@ -20,16 +20,16 @@ OF_ASSUME_NONNULL_BEGIN #ifdef __cplusplus extern "C" { #endif -extern int _OFString_JSONValue_reference; +extern int _OFString_JSONParsing_reference; #ifdef __cplusplus } #endif -@interface OFString (JSONValue) +@interface OFString (JSONParsing) /*! * @brief The string interpreted as JSON and parsed as an object. * * @note This also allows parsing JSON5, an extension of JSON. See * http://json5.org/ for more details. @@ -41,11 +41,11 @@ * consisting of a single primitive. Therefore, you should not make any * assumptions about the object returned by this method if you don't * want your program to terminate due to a message not understood, but * instead check the returned object using @ref isKindOfClass:. */ -@property (readonly, nonatomic) id JSONValue; +@property (readonly, nonatomic) id objectByParsingJSON; /*! * @brief Creates an object from the JSON value of the string. * * @note This also allows parsing JSON5, an extension of JSON. See @@ -63,9 +63,9 @@ * @param depthLimit The maximum depth the parser should accept (defaults to 32 * if not specified, 0 means no limit (insecure!)) * * @return An object */ -- (id)JSONValueWithDepthLimit: (size_t)depthLimit; +- (id)objectByParsingJSONWithDepthLimit: (size_t)depthLimit; @end OF_ASSUME_NONNULL_END