{"id":15569434,"url":"https://github.com/dwolfhub/corona_jsonfile","last_synced_at":"2026-06-21T01:02:31.753Z","repository":{"id":71041366,"uuid":"11454310","full_name":"dwolfhub/corona_jsonfile","owner":"dwolfhub","description":"JSON file lib for reading/writing/appending","archived":false,"fork":false,"pushed_at":"2013-07-16T17:47:50.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T06:44:08.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwolfhub.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}},"created_at":"2013-07-16T16:25:56.000Z","updated_at":"2014-05-02T23:00:39.000Z","dependencies_parsed_at":"2023-02-21T23:30:40.934Z","dependency_job_id":null,"html_url":"https://github.com/dwolfhub/corona_jsonfile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwolfhub%2Fcorona_jsonfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwolfhub%2Fcorona_jsonfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwolfhub%2Fcorona_jsonfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwolfhub%2Fcorona_jsonfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwolfhub","download_url":"https://codeload.github.com/dwolfhub/corona_jsonfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243223873,"owners_count":20256594,"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":[],"created_at":"2024-10-02T17:28:44.894Z","updated_at":"2026-06-21T01:02:24.711Z","avatar_url":"https://github.com/dwolfhub.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON File Manipulation Library\n\n#### Note:\n\nThis library assumes you will be using the system.DocumentsDirectory to store your files, as is the standard convention.\n\n## JsonFile:readFileData(fileName)\n\n#### Parameters\n\u003e - fileName (string) name of the file to be read\n\n#### Return\n\u003e table of the json decoded data from the json file requested\n\n#### Example\n```lua\nlocal jsonFile = require \"library.data.jsonfile\"\nlocal jsonData = jsonFile:readFileData(\"myjsonfile.json\")\nprint(jsonData)\n```\n\n## JsonFile:writeFileData(fileName, data)\n\n#### Parameters\n\u003e - fileName (string) name of the file to be written to\n\u003e - data (table) the data to be encoded and written to the json file\n\n#### Return\n\u003e void\n\n#### Example\n```lua\nlocal jsonFile = require \"library.data.jsonfile\"\nlocal data = {index1=\"hello world\"}\njsonFile:writeFileData(\"myjsonfile.json\", data)\n```\n## JsonFile:appendFileData(fileName, data)\n\n#### Parameters\n\u003e - fileName (string) name of the file to be written to\n\u003e - data (table) the data to be encoded and written to the end of the json data\n\n#### Return\n\u003e void\n\n#### Example\n```lua\n    local jsonFile = require \"library.data.jsonfile\"\n    local data = {index1=\"hello world\"}\n    jsonFile:appendFileData(\"myjsonfile.json\", data)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwolfhub%2Fcorona_jsonfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwolfhub%2Fcorona_jsonfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwolfhub%2Fcorona_jsonfile/lists"}