Skip to content

xLog should not crash app but give helpful hints when there in an invalid Json #103

@shipsywor

Description

@shipsywor

When the json is invalid, xLog crashes the Android app and gives error "format parse ..."

Instead of doing that it should either give helpful validation errors like this site: https://jsonformatter.curiousconcept.com/#

Or simply print in the logcat that the "json is invalid". The App should NOT crash.

This is what https://github.com/orhanobut/logger does:

The important part is that App is not crashed!

k_2021-06-12_20-18-34

Please think of a more thoughtful way of dealing with invalid json errors. Crashing the app is very inconvenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions