]> git.lizzy.rs Git - rust.git/commit
Unpublicize reexports, unprefix JSON type aliases
authorCorey Farwell <coreyf@rwell.org>
Sat, 22 Nov 2014 18:48:01 +0000 (13:48 -0500)
committerCorey Farwell <coreyf@rwell.org>
Wed, 26 Nov 2014 16:19:54 +0000 (11:19 -0500)
commitce238d752b1e04d4aea21c0fadf420a270ed6ff9
tree71a207c4e2d0b49af43d90d22901edc2d2edc47d
parent8fb027e398ef756b7b02a270ef0304be92e70f4d
Unpublicize reexports, unprefix JSON type aliases

The type aliases json::JsonString and json::JsonObject were originally
prefixed with 'json' to prevent collisions with (at the time) the enums
json::String and json::Object respectively. Now that enum namespacing
has landed, this 'json' prefix is redundant and can be removed:

json::JsonArray -> json::Array
json::JsonObject -> json::Object

In addition, this commit also unpublicizes all of the re-exports in this
JSON module, as a part of #19253

[breaking-change]
src/libserialize/json.rs
src/test/run-pass/issue-2804.rs