diff --git a/sources/Text/JSON/JSONAPI.uc b/sources/Text/JSON/JSONAPI.uc index 5b7b39e..2cec812 100644 --- a/sources/Text/JSON/JSONAPI.uc +++ b/sources/Text/JSON/JSONAPI.uc @@ -79,7 +79,7 @@ private final function InitFormatting() * an incorrect JSON pointer or `none`, - empty `JSONPointer` will be * returned. */ -public final function JSONPointer Pointer(Text pointerAsText) +public final function JSONPointer Pointer(optional Text pointerAsText) { return JSONPointer(_.memory.Allocate(class'JSONPointer')) .Set(pointerAsText);