Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
afc30a14
Unverified
Commit
afc30a14
authored
May 12, 2020
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔧
set Wandbox script to use HTTPS
parent
1de30bc6
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
25 additions
and
30 deletions
+25
-30
at__object_t_key_type_const.link
doc/examples/at__object_t_key_type_const.link
+2
-2
begin.link
doc/examples/begin.link
+2
-2
cbegin.link
doc/examples/cbegin.link
+2
-2
cend.link
doc/examples/cend.link
+2
-2
contains_json_pointer.cpp
doc/examples/contains_json_pointer.cpp
+0
-2
contains_json_pointer.link
doc/examples/contains_json_pointer.link
+2
-2
contains_json_pointer.output
doc/examples/contains_json_pointer.output
+0
-3
count.link
doc/examples/count.link
+2
-2
end.link
doc/examples/end.link
+2
-2
erase__IteratorType.link
doc/examples/erase__IteratorType.link
+2
-2
erase__IteratorType_IteratorType.link
doc/examples/erase__IteratorType_IteratorType.link
+2
-2
erase__key_type.link
doc/examples/erase__key_type.link
+2
-2
erase__size_type.link
doc/examples/erase__size_type.link
+2
-2
operatorarray__size_type_const.link
doc/examples/operatorarray__size_type_const.link
+2
-2
send_to_wandbox.py
doc/scripts/send_to_wandbox.py
+1
-1
No files found.
doc/examples/at__object_t_key_type_const.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/Zh3iTnZNxsSgBvm3"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/PjhAXOF8TTuwibn6"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/begin.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/xKAi3HGAdCU5y2dS"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/I1e2Y91igQv2vxbo"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/cbegin.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/oKNo3GDUa9cxjgVB"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/tGoAEO2RoudxXWUz"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/cend.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/mP4cOSG4MtXmXlFw"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/KtW1m39B30RYkl5h"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/contains_json_pointer.cpp
View file @
afc30a14
...
@@ -20,7 +20,6 @@ int main()
...
@@ -20,7 +20,6 @@ int main()
<<
j
.
contains
(
"/array/4"
_json_pointer
)
<<
'\n'
<<
j
.
contains
(
"/array/4"
_json_pointer
)
<<
'\n'
<<
j
.
contains
(
"/baz"
_json_pointer
)
<<
std
::
endl
;
<<
j
.
contains
(
"/baz"
_json_pointer
)
<<
std
::
endl
;
// out_of_range.106
try
try
{
{
// try to use an array index with leading '0'
// try to use an array index with leading '0'
...
@@ -31,7 +30,6 @@ int main()
...
@@ -31,7 +30,6 @@ int main()
std
::
cout
<<
e
.
what
()
<<
'\n'
;
std
::
cout
<<
e
.
what
()
<<
'\n'
;
}
}
// out_of_range.109
try
try
{
{
// try to use an array index that is not a number
// try to use an array index that is not a number
...
...
doc/examples/contains_json_pointer.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/3TJ79OzHP4vmN1Nb"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/aIuHXNvIdSGowMgG"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/contains_json_pointer.output
View file @
afc30a14
...
@@ -2,9 +2,6 @@ true
...
@@ -2,9 +2,6 @@ true
true
true
true
true
true
true
true
false
false
false
false
false
false
[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'
[json.exception.parse_error.109] parse error: array index 'one' is not a number
doc/examples/count.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/4qmbLSA75stzPgtZ"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/k52yOvuKAXPQl1ou"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/end.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/rSTMI3VXUFtNCWNc"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/65ClUAO2rdvXIuKi"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/erase__IteratorType.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/nh51Nho7iuAAAPyk"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/x9qygfrgrfjgjNpC"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/erase__IteratorType_IteratorType.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/xqf45a27zQqgthtB"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/G48ghomtqfwbG4OB"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/erase__key_type.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/lMcaGzTQuWn44ly1"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/8OiyguvJR3l15ail"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/erase__size_type.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/7fA2QoclBNAGZprY"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/099bRQB6gKnhVuVl"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/examples/operatorarray__size_type_const.link
View file @
afc30a14
<a target="_blank" href="https://wandbox.org/permlink/K8peAfoiWbp1wSqq"><b>online</b></a>
<a target="_blank" href="https://wandbox.org/permlink/SWqjjMQTNClOhE08"><b>online</b></a>
\ No newline at end of file
\ No newline at end of file
doc/scripts/send_to_wandbox.py
View file @
afc30a14
...
@@ -42,7 +42,7 @@ def strip_comments(text):
...
@@ -42,7 +42,7 @@ def strip_comments(text):
# Post the given JSON data to Wandbox's API, and return the result
# Post the given JSON data to Wandbox's API, and return the result
# as a JSON object.
# as a JSON object.
def
upload
(
options
):
def
upload
(
options
):
request
=
urllib2
.
Request
(
'http://melpon.org/wandbox/api/compile.json'
)
request
=
urllib2
.
Request
(
'http
s
://melpon.org/wandbox/api/compile.json'
)
request
.
add_header
(
'Content-Type'
,
'application/json'
)
request
.
add_header
(
'Content-Type'
,
'application/json'
)
response
=
urllib2
.
urlopen
(
request
,
json
.
dumps
(
options
))
response
=
urllib2
.
urlopen
(
request
,
json
.
dumps
(
options
))
return
json
.
loads
(
response
.
read
())
return
json
.
loads
(
response
.
read
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment