Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
15625ca4
Unverified
Commit
15625ca4
authored
Jul 01, 2017
by
Théo DELRIEU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move input adapters outside of basic_json
parent
a3321421
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
749 additions
and
743 deletions
+749
-743
src/json.hpp
src/json.hpp
+281
-275
test/src/unit-class_lexer.cpp
test/src/unit-class_lexer.cpp
+1
-1
test/src/unit-class_parser.cpp
test/src/unit-class_parser.cpp
+467
-467
No files found.
src/json.hpp
View file @
15625ca4
This diff is collapsed.
Click to expand it.
test/src/unit-class_lexer.cpp
View file @
15625ca4
...
...
@@ -36,7 +36,7 @@ using nlohmann::json;
json
::
lexer
::
token_type
scan_string
(
const
char
*
s
);
json
::
lexer
::
token_type
scan_string
(
const
char
*
s
)
{
return
json
::
lexer
(
json
::
input_adapter
::
create
(
s
)).
scan
();
return
json
::
lexer
(
nlohmann
::
detail
::
input_adapter_factory
::
create
(
s
)).
scan
();
}
TEST_CASE
(
"lexer class"
)
...
...
test/src/unit-class_parser.cpp
View file @
15625ca4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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