kotlinx.serialization icon indicating copy to clipboard operation
kotlinx.serialization copied to clipboard

Stabilization of `JsonUnquotedLiteral`

Open hermannm opened this issue 11 months ago • 2 comments

Hi,

I'm building a library where I do some validation of raw JSON literal strings, and return a JsonElement if the validation succeeds. I would like to use JsonUnquotedLiteral if it's valid JSON, so that it can be encoded inline without having to parse/re-encode it. However, I hesitate to depend on JsonUnquotedLiteral in my library, since it's still marked with @ExperimentalSerializationApi.

Is there a plan for when JsonUnquotedLiteral will be stabilized? Are there any open issues with it that have yet to be resolved, or is it just a matter of time?

(great work on the library, by the way!)

hermannm avatar Jan 08 '25 13:01 hermannm

Thanks! I don't remember any significant issues with JsonUnquotedLiteral, so it would likely be unchanged and promoted to stable state as-is.

sandwwraith avatar Jan 10 '25 11:01 sandwwraith

Sounds good! Looking forward to seeing it stabilized.

hermannm avatar Jan 10 '25 12:01 hermannm