{"repo":"snappdevelopment/JsonTree","free":true,"listed":false,"github":"https://github.com/snappdevelopment/JsonTree","clone":"git clone https://github.com/snappdevelopment/JsonTree.git","description":"A Compose Multiplatform library for pretty Json in Compose","language":"Kotlin","stars":117,"topics":["android","android-library","compose","jsontree","kotlin","json","pretty-json","compose-multiplatform","kotlin-multiplatform"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"🌳 JsonTree JsonTree is a Compose Multiplatform library to display JSON data in Compose with syntax highlighting and more. About JsonTree is an Compose Multiplatform library to display formatted JSON data in Compose. Users can expand/collapse objects and arrays, which can also display additional info like item counts and item indices for arrays. JsonTree offers several customizations for visual appearance like syntax highlighting, text style and icons. Download See maven tag at the top for the latest version. Snapshots Add the sonatype snapshot repository to your gradle setup and add the dependency from above. See maven tag at the top for the latest snapshot version. How to use Add JsonTree to your Compose UI and customize it with the following options. Get started by only providing your JSON data and a Composable for the initial loading. For more customization, use the following parameter. Search JsonTree can be searched for keys and values by using the searchState parameter. The SearchState provides the following data about the current results. For an example on how to implement a search UI see the sample here. - query - The string which should be searched in the JsonTree - totalResults - The total count of results for the query - selectedResultIndex - The index of the currently selected result - selectedResultListIndex - The index of the list item in which the selected result is located - selectNext() - Selects the next result - selectPrevious() - Selects the previous resu","default_branch":null,"files":null,"tree":[],"storefront":"/r/snappdevelopment","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/snappdevelopment/JsonTree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}