Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ridadogrul/local_json_data_read
The process of reading from the local JSON file in the application, which is generally used in applications that do not need internet, without making any service calls.
https://github.com/ridadogrul/local_json_data_read
and android-studio java json
Last synced: 21 days ago
JSON representation
The process of reading from the local JSON file in the application, which is generally used in applications that do not need internet, without making any service calls.
- Host: GitHub
- URL: https://github.com/ridadogrul/local_json_data_read
- Owner: RidaDogrul
- Created: 2022-09-27T08:26:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T08:39:20.000Z (over 2 years ago)
- Last Synced: 2023-07-18T12:38:54.649Z (over 1 year ago)
- Topics: and, android-studio, java, json
- Language: Java
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# local_json_data_read
The process of reading from the local JSON file in the application, which is generally used in applications that do not need internet, without making any service calls.
In order to extract data from a data source in the current application, I created a new folder with the name raw under the res folder and created the data source “***.json” that I used in the raw folder.
Modeling POJOs must be written in order for the data to be read and used within the application. You can use http://www.jsonschema2pojo.org/ to quickly create models.I created a folder called model in the project so that all of the classes created with the preview button can be found together.
I copied the created POJO and put it in the model folder.