Skip to content

Latest commit

 

History

History
42 lines (38 loc) · 1.67 KB

CreateOwnAndroidSerializer.md

File metadata and controls

42 lines (38 loc) · 1.67 KB

Create Own Android Serializer

You can implement your own Json Serializer that Librarian does not have

Overview

  • You cam implement own Json Serializer using interfaces defined at ui-core
  • If you do not want to depend on ui-core, see Create Own Viewer

Json Structure

{
    "title": "Example",
    "description": "Example",
    "notices": [
        {
            "name": "Example",
            "author": "Example human",
            "url": "https://google.com",
            "description": "Description is optional, will be null",
            "resources": [
                {
                    "artifacts": [
                        "com.example:example"
                    ],
                    "licenses": [
                        {
                            "name": "Example license",
                            "url": "https://google.com"
                        }
                    ]
                }
            ]
        }
    ]
}

Implement interface

Contributing

If you want to make your own implementation or you made your own implementation, it is chance to contribute. Librarian welcomes contributions on Issues or Pull Requests