All Projects → smuyyh → Jsonviewer

smuyyh / Jsonviewer

Licence: apache-2.0
Android json viewer, to convert json strings to a friendly readable format, it supports expend&collapsed json strings.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Jsonviewer

Snodge
Randomly mutate JSON, XML, HTML forms, text and binary data for fuzz testing
Stars: ✭ 121 (-6.2%)
Mutual labels:  json
Fx
Command-line tool and terminal JSON viewer 🔥
Stars: ✭ 11,295 (+8655.81%)
Mutual labels:  json
Json
Lighter and Faster Json Serialization tool.
Stars: ✭ 128 (-0.78%)
Mutual labels:  json
Api Response
Simple and ready to use API response wrapper for Laravel.
Stars: ✭ 123 (-4.65%)
Mutual labels:  json
Codability
Useful helpers for working with Codable types in Swift
Stars: ✭ 125 (-3.1%)
Mutual labels:  json
Burner.kiwi
No bullshit temporary mail service written in Go
Stars: ✭ 126 (-2.33%)
Mutual labels:  json
Jwt
Jwt.Net, a JWT (JSON Web Token) implementation for .NET
Stars: ✭ 1,694 (+1213.18%)
Mutual labels:  json
Any Json
Convert (almost) anything to JSON
Stars: ✭ 128 (-0.78%)
Mutual labels:  json
Plug logger json
Elixir Plug that formats http request logs as json
Stars: ✭ 125 (-3.1%)
Mutual labels:  json
Swiftcodes
Swift Codes or BIC Codes for all the Banks in the world. Cached to json.
Stars: ✭ 127 (-1.55%)
Mutual labels:  json
Jqr
R interface to jq
Stars: ✭ 123 (-4.65%)
Mutual labels:  json
Django Jsoneditor
Django JSONEditor input widget to provide javascript online JSON Editor
Stars: ✭ 124 (-3.88%)
Mutual labels:  json
Jsonfui
jsonfui is an interactive command-line JSON viewer.
Stars: ✭ 125 (-3.1%)
Mutual labels:  json
Yyjson
The fastest JSON library in C
Stars: ✭ 1,894 (+1368.22%)
Mutual labels:  json
Stateshot
💾 Non-aggressive history state management with structure sharing.
Stars: ✭ 128 (-0.78%)
Mutual labels:  json
Structomap
Easily and dynamically generate maps from Go static structures
Stars: ✭ 122 (-5.43%)
Mutual labels:  json
Json2caseclass
Kickstart your scala API client by turning JSON into case classes.
Stars: ✭ 123 (-4.65%)
Mutual labels:  json
Scobot
SCORM API for Content. JavaScript library, QUnit tests and examples.
Stars: ✭ 128 (-0.78%)
Mutual labels:  json
Tiny Json
The tiny-json is a versatile and easy to use json parser in C suitable for embedded systems. It is fast, robust and portable.
Stars: ✭ 127 (-1.55%)
Mutual labels:  json
Klaxon
A JSON parser for Kotlin
Stars: ✭ 1,687 (+1207.75%)
Mutual labels:  json

JsonViewer

Android JSON viewer, to convert JSON Strings to a Friendly Readable Format, it supports expend&collapsed JSON strings.

Dependencies

compile 'com.yuyh.json:jsonviewer:1.0.6'

Usage

Step1

<HorizontalScrollView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true"
    android:orientation="vertical">

	<com.yuyh.jsonviewer.library.JsonRecyclerView
	    android:id="@+id/rv_json"
	    android:layout_width="match_parent"
	    android:layout_height="wrap_content" />
</HorizontalScrollView>

step2

JsonRecyclerView mRecyclewView = findViewById(R.id.rv_json);
// bind json
mRecyclewView.bindJson("your json strings." || JSONObject || JSONArray);

Code Style

The default code style is like https://www.json.cn.

// Color
mRecyclewView.setKeyColor()
mRecyclewView.setValueTextColor()
mRecyclewView.setValueNumberColor()
mRecyclewView.setValueUrlColor()
mRecyclewView.setValueNullColor()
mRecyclewView.setBracesColor()

// TextSize
mRecyclewView.setTextSize()

LICENSE

   Copyright 2017 smuyyh, All right reserved.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].