mirror of
https://github.com/SerenityOS/serenity
synced 2026-04-26 01:25:22 +02:00
`JsonValue::to_byte_string` has peculiar type-erasure semantics which is not usually intended. Unfortunately, it also has a very stereotypical name which does not warn about unexpected behavior. So let's prefix it with `deprecated_` to make new code use `as_string` if it just wants to get string value or `serialized<StringBuilder>` if it needs to do proper serialization.
4.4 KiB
4.4 KiB