{"id":26891064,"url":"https://github.com/tagaryen/archer-xjson","last_synced_at":"2025-07-19T05:08:54.221Z","repository":{"id":266389526,"uuid":"898207440","full_name":"tagaryen/archer-xjson","owner":"tagaryen","description":"json parser util","archived":false,"fork":false,"pushed_at":"2025-07-15T07:02:01.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T16:37:40.572Z","etag":null,"topics":["json","json-parser","serialization"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tagaryen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-04T01:28:30.000Z","updated_at":"2025-07-15T07:02:04.000Z","dependencies_parsed_at":"2025-03-06T10:24:53.824Z","dependency_job_id":"04045209-ec25-48a1-b121-8a0cbead9e67","html_url":"https://github.com/tagaryen/archer-xjson","commit_stats":null,"previous_names":["tagaryen/archer-xjson"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tagaryen/archer-xjson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Farcher-xjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Farcher-xjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Farcher-xjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Farcher-xjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tagaryen","download_url":"https://codeload.github.com/tagaryen/archer-xjson/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tagaryen%2Farcher-xjson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265892339,"owners_count":23845012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","json-parser","serialization"],"created_at":"2025-03-31T22:12:46.879Z","updated_at":"2025-07-19T05:08:54.214Z","avatar_url":"https://github.com/tagaryen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# archer-xjson\njson library written with pure java  \nmaven:\n```maven\n  \t\u003cdependency\u003e\n\t  \u003cgroupId\u003eio.github.tagaryen\u003c/groupId\u003e\n\t  \u003cartifactId\u003earcher-xjson\u003c/artifactId\u003e\n\t  \u003cversion\u003e1.1.8\u003c/version\u003e\n\t\u003c/dependency\u003e\n```\n\n## examples  \n``` java  \npublic class TestObj {\n    boolean ret;\n    char c;\n    byte b;\n    int code;\n    float money;\n    String msg;\n    LocalDateTime t;\n    List\u003cQueue\u003cTestObj\u003e\u003e list;\n    List\u003cString\u003e strs;\n    BigInteger bigA;\n    BigDecimal bigB;\n    \n\n    public TestObj() {\n    }\n    \n    public TestObj(boolean hasList) {\n        c = 'w';\n        b = 10;\n        code = 100;\n        money = 123.4f;\n        msg = \"mm\\\"} \\\"mss\";\n        ret = true;\n        t = LocalDateTime.now();\n        if(hasList) {\n            Queue\u003cTestObj\u003e queue = new ArrayBlockingQueue\u003c\u003e(2);\n            queue.add(new TestObj(false));\n            queue.add(new TestObj(false));\n            list = Arrays.asList(queue);\n        }\n        bigA = BigInteger.valueOf(1824683462834l);\n        bigB = BigDecimal.valueOf(172714.124d);\n    }\n\n    public boolean isRet() {\n        return ret;\n    }\n\n    public void setRet(boolean ret) {\n        this.ret = ret;\n    }\n\n    public int getCode() {\n        return code;\n    }\n\n    public void setCode(int code) {\n        this.code = code;\n    }\n\n    public float getMoney() {\n        return money;\n    }\n\n    public void setMoney(float money) {\n        this.money = money;\n    }\n\n    public String getMsg() {\n        return msg;\n    }\n\n    public void setMsg(String msg) {\n        this.msg = msg;\n    }\n\n    public LocalDateTime getT() {\n        return t;\n    }\n\n    public void setT(LocalDateTime t) {\n        this.t = t;\n    }\n\n    public List\u003cQueue\u003cTestObj\u003e\u003e getList() {\n        return list;\n    }\n\n    public void setList(List\u003cQueue\u003cTestObj\u003e\u003e list) {\n        this.list = list;\n    }\n\n    public BigInteger getBigA() {\n        return bigA;\n    }\n\n    public void setBigA(BigInteger bigA) {\n        this.bigA = bigA;\n    }\n\n    public BigDecimal getBigB() {\n        return bigB;\n    }\n\n    public void setBigB(BigDecimal bigB) {\n        this.bigB = bigB;\n    }\n}\n\n    // test \n    Map\u003cString, TestObj\u003e map = new HashMap\u003c\u003e();\n    map.put(\"the\", new TestObj(true));\n\n    String bjson = XJSONStatic.stringify(map);\n    System.out.println(bjson);\n     \n    Map\u003cString, TestObj\u003e parsed = XJSONStatic.parse(bjson, new JavaTypeRef\u003cMap\u003cString, TestObj\u003e\u003e() {});\n    System.out.println(parsed.get(\"the\").msg);\n```  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftagaryen%2Farcher-xjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftagaryen%2Farcher-xjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftagaryen%2Farcher-xjson/lists"}