@@ -90,11 +90,11 @@ default: \ @throw [OFInvalidFormatException exception]; \ } @interface OFNumber () -- (OFString *)OF_JSONRepresentationWithOptions: (int)options +- (OFString *)of_JSONRepresentationWithOptions: (int)options depth: (size_t)depth; @end @implementation OFNumber @synthesize type = _type; @@ -1014,21 +1014,21 @@ return [element autorelease]; } - (OFString *)JSONRepresentation { - return [self OF_JSONRepresentationWithOptions: 0 + return [self of_JSONRepresentationWithOptions: 0 depth: 0]; } - (OFString *)JSONRepresentationWithOptions: (int)options { - return [self OF_JSONRepresentationWithOptions: options + return [self of_JSONRepresentationWithOptions: options depth: 0]; } -- (OFString *)OF_JSONRepresentationWithOptions: (int)options +- (OFString *)of_JSONRepresentationWithOptions: (int)options depth: (size_t)depth { double doubleValue; if (_type == OF_NUMBER_TYPE_BOOL)