★ wanayoo — archive 1999 https://github.com/CoderJava/flutter-jsonloaderNouvelle recherche | Portail wanayoo
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

jsonloader

JSON Loader Package to read JSON from asset.

Pub Version License

Logo Flutter JSON LOADER

Features

  • Load and read JSON from assets.

Getting Started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  jsonloader: ^1.0.1

In your library add the following import:

import 'package:jsonloader/jsonloader.dart';

Super Simple To Use

import 'package:jsonloader/jsonloader.dart';

void main() async {
  var jsonString = await JSONLoader().getJsonAsString('assets/login_response.json');
  print('jsonString: $jsonString');
}
You can’t perform that action at this time.