-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make pyjsonviewer callable from python. (#39)
* add support for list data. #31 * add test cases. * add test for nested json. * list under second layer should be expanded as trees. #35 * limit list view to MAX_N_SHOW_ITEM * avoid naming conflict. * refactor main file. * expose function view_data from pyjsonviewer. * update readme file to show python usage. * Update pyjsonviewer.py * refactor main file. * expose function view_data from pyjsonviewer. * update readme file to show python usage. * refactor main file. * expose function view_data from pyjsonviewer. * update readme file to show python usage. * Code review changes. #39 (comment)
- Loading branch information
1 parent
dccd11e
commit 413eee4
Showing
4 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .pyjsonviewer import view_data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters