File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,16 @@ version = "0.3.4"
7
7
Mmap = " a63ad114-7e13-5084-954f-fe012c677804"
8
8
OrderedCollections = " bac558e1-5e72-5ebc-8fee-abe8a469f55d"
9
9
10
- [weakdeps ]
11
- JSON = " 682c06a0-de6a-54ab-a142-c8b1cf79cde6"
10
+ [compat ]
11
+ JSON = " 0.21"
12
+ OrderedCollections = " 1.4, 1.5, 1.6"
13
+ julia = " 1.6"
12
14
13
15
[extensions ]
14
16
XMLJSONExt = [" JSON" ]
15
17
16
- [compat ]
17
- JSON = " 0.21"
18
- OrderedCollections = " 1.4, 1.5"
19
- julia = " 1.6"
18
+ [extras ]
19
+ JSON = " 682c06a0-de6a-54ab-a142-c8b1cf79cde6"
20
+
21
+ [weakdeps ]
22
+ JSON = " 682c06a0-de6a-54ab-a142-c8b1cf79cde6"
Original file line number Diff line number Diff line change 1
1
module XMLJSONExt
2
2
3
- using JSON
3
+ isdefined (Base, :get_extension ) ? ( using JSON) : ( using .. JSON)
4
4
using OrderedCollections
5
5
using XML
6
6
Original file line number Diff line number Diff line change 225
225
@test collect (keys (attributes (xyz))) == string .(collect (' a' :' z' ))
226
226
end
227
227
228
- include (" JSONExt.jl" )
228
+ if isdefined (Base, :get_extension )
229
+ include (" JSONExt.jl" )
230
+ end
You can’t perform that action at this time.
0 commit comments