diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-05-02 20:26:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-03 13:27:30 -0700 |
| commit | a52f12afc97c5973cfb844be01cf40a9a6fdb57a (patch) | |
| tree | 07163ba57f35f0105745ea85b482b4b799c4b7a7 /lib/std/json.zig | |
| parent | 3b5be9fb6e06f6494ca05fb087a2121e220beb3f (diff) | |
| download | zig-a52f12afc97c5973cfb844be01cf40a9a6fdb57a.tar.gz zig-a52f12afc97c5973cfb844be01cf40a9a6fdb57a.zip | |
Delete compile errors for deprecated decls
Diffstat (limited to 'lib/std/json.zig')
| -rw-r--r-- | lib/std/json.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/std/json.zig b/lib/std/json.zig index b513ced2f1..d977c34577 100644 --- a/lib/std/json.zig +++ b/lib/std/json.zig @@ -114,14 +114,6 @@ pub const encodeJsonStringChars = @import("json/stringify.zig").encodeJsonString pub const Formatter = @import("json/fmt.zig").Formatter; pub const fmt = @import("json/fmt.zig").fmt; -// Deprecations -pub const parse = @compileError("Deprecated; use parseFromSlice() or parseFromTokenSource() instead."); -pub const parseFree = @compileError("Deprecated; call Parsed(T).deinit() instead."); -pub const Parser = @compileError("Deprecated; use parseFromSlice(Value) or parseFromTokenSource(Value) instead."); -pub const ValueTree = @compileError("Deprecated; use Parsed(Value) instead."); -pub const StreamingParser = @compileError("Deprecated; use json.Scanner or json.Reader instead."); -pub const TokenStream = @compileError("Deprecated; use json.Scanner or json.Reader instead."); - test { _ = @import("json/test.zig"); _ = @import("json/scanner.zig"); |
