{"repo":"anton-novikau/boringYURI","free":true,"listed":false,"github":"https://github.com/anton-novikau/boringYURI","clone":"git clone https://github.com/anton-novikau/boringYURI.git","description":"An annotation processor library for Uri building and parsing routines.","language":"Kotlin","stars":13,"topics":["uri","uri-parser","uri-builder","annotations","annotation-processor","java","kotlin","android","boilerplate","android-library"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Boring YURI Boring Yuri (pronounced as 'bɔːrɪŋ júrij ) is a humble guy who knows how to do his boring job. And his job is to deal with the [Uri][1] routine. This job has a little fun, but someone has to do it. So Boring Yuri is at your service. This is a source code generation library that provides a simple annotation-based API to convert your objects into Android Uri or to restore the objects back from the Uri . The API itself was inspired by popular annotation-based libraries [Retrofit][2] and [Gson][3], but, unlike them, Boring Yuri does all the job on the compile time and the purpose of the library has a little in common with them. Usage Basic example Variable path segment Types Arrays Application specific types Platform or Library specific types Constant query parameters Deserialize data from Uri Independent Uri data class Inheritance in Uri data Default values Matching URIs in Android ContentProvider Disable URI matching based on a build type or a flavor Installation Configuration Usage Basic example Here is a simple HTTP URL to build: Usually you have to create a Uri.Builder and provide URL scheme, authority, path, query parameter names and the values. There is nothing complicated at first sight, but when there comes more URIs to build with many more different paths and query parameters, when you need to ensure the parameters you pass are not null and that they are correctly converted into String , it becomes much more complicated. Instead of dealing with Uri API direc","default_branch":null,"files":null,"tree":[],"storefront":"/r/anton-novikau","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/anton-novikau/boringYURI/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."}