Flutter Tutorial - Convert JSON To Object & Object To JSON | JSON Serializable

Поділитися
Вставка

КОМЕНТАРІ • 45

  • @HeyFlutter
    @HeyFlutter  2 роки тому

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/json_serializable_example
    Generate Hashcode, Equals, ToString Tutorial: ua-cam.com/video/KRupSlqAMqs/v-deo.html
    Shared Preferences & JSON Tutorial: ua-cam.com/video/szOllHT1S7Y/v-deo.html
    Load & Save JSON Complete GUIDE Tutorial: ua-cam.com/video/-32HIsRf26o/v-deo.html
    Load JSON From Network Tutorial: ua-cam.com/video/Rlf5q2EGHzc/v-deo.html
    Null Safety In 5 Minutes Tutorial: ua-cam.com/video/Q_WloMNKOkU/v-deo.html
    Migrate App To Null Safety Tutorial: ua-cam.com/video/GLnQphHi1BY/v-deo.html
    Flutter Upgrade Tutorial: ua-cam.com/video/0QC7S1nUmpY/v-deo.html
    Copy To Clipboard Tutorial: ua-cam.com/video/whVnZnSsU3o/v-deo.html
    Google Sheets API Tutorial: ua-cam.com/video/3UJ6RnWTGIY/v-deo.html
    Global Key Tutorial: ua-cam.com/video/jlZ8GV_3nnk/v-deo.html
    Value Key Tutorial: ua-cam.com/video/-F_5yHm_Zso/v-deo.html
    Unique Key Tutorial: ua-cam.com/video/WhnB_5yjyWQ/v-deo.html
    Object Key Tutorial: ua-cam.com/video/WQpPMYxxTfg/v-deo.html
    Page Storage Key Tutorial: ua-cam.com/video/sMD4Qxn9q_E/v-deo.html

  • @ShuaibShahzan
    @ShuaibShahzan 3 роки тому +4

    As always wonderful tutorial. Thank you so much @JohannesMilke for coming up with such great tutorials. Can you please make a tutorial on how to persist the theme changes in Shared Preferences?

  • @higorgustavobarbosadasilva9624
    @higorgustavobarbosadasilva9624 2 роки тому

    Thanks for this video. Now I know how to make automatically json from my model.

  • @programingtales7514
    @programingtales7514 2 роки тому

    Amazing info I wish you make video for json patch in flutter

  • @lloyd27z
    @lloyd27z 2 роки тому

    Thank you, sir. I really appreciate this video. I hope you will upload more videos like this.

  • @helixdynamics9578
    @helixdynamics9578 3 роки тому

    Cool video ... Again a request ... Could you plz make a full tutorial on glassmorphism ui in flutter, could be very helpful .. thank you 🙏

  • @LofiCoder
    @LofiCoder Рік тому

    Amazing video. Saved my life!

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Glad to hear that, Thank you Lofi Coder! 😊

  • @vijayabalajib1350
    @vijayabalajib1350 3 роки тому

    It will get more complicated when we work with multiple nested classes, colors and date time.. Would be great to have a video for that!

  • @excellencemichel4875
    @excellencemichel4875 3 роки тому

    Amazing, thank you for all you are doing for us

  • @galvatp9221
    @galvatp9221 3 роки тому

    Thanks you for all bro, you are incredible ❤

  • @arzargaryan
    @arzargaryan 2 роки тому

    Appreciate your work. Awesome voice and quality of lesson delivery. Thank you so much!

  • @alhaidarai
    @alhaidarai 3 місяці тому

    Wonderful tutorial as always but what is the difference if i did it manuanly it seems just an extra files for the project

    • @HeyFlutter
      @HeyFlutter  3 місяці тому

      Thank you, @alhaidarai! 🙂. Please try to provide enough details with your question.

  • @mitra9234
    @mitra9234 2 роки тому

    great tutorial dude thanks

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Glad you liked it, Mitra 😀

  • @LORDGULSHAN
    @LORDGULSHAN 3 роки тому

    Can you make a tutorial on how to add a search option for the long list of cards?
    Like we have search option in contacts app to search the names.

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thanks, LORD GULSHAN! 🙂 Learn more about search here:
      1) Search & Filter: ua-cam.com/video/oFZIwBudIj0/v-deo.html
      2) Search App Bar: ua-cam.com/video/RaACAwvZ61E/v-deo.html
      3) Autocomplete Search: ua-cam.com/video/ybV1aIyKFE0/v-deo.html

  • @adnanhaider9949
    @adnanhaider9949 3 роки тому

    Please also make array data to json and vice-versa

  • @hashankannangara8723
    @hashankannangara8723 3 роки тому

    Thanks 😍🤘

  • @RajA-me9cl
    @RajA-me9cl 3 роки тому

    Greetings Johan,
    May you please share the link to in-app purchase tutorial?
    Thank you.

    • @RajA-me9cl
      @RajA-me9cl 3 роки тому

      @@HeyFlutter You can add Firestore data modeling as well. 😬

  • @dhararabadiya2581
    @dhararabadiya2581 Рік тому

    How can we store custom model object into local database in flutter using flutter secure storage??

    • @HeyFlutter
      @HeyFlutter  Рік тому

      Hey, @dhararabadiya2581 🙂 model object can't be stored directly you'll have to convert it to json first and any model can be converted to json

  • @hardik7581
    @hardik7581 2 роки тому

    Should we care to merge those g part files into class? or it's fine that way?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Hardik! 🙂. It is fine.

  • @wahyualfandi611
    @wahyualfandi611 3 роки тому

    Because every version of flutter_test from sdk depends on meta 1.3.0 and json_annotation >=4.1.0 depends on meta ^1.4.0, flutter_test from sdk is incompatible with json_annotation >=4.1.0.
    i receive this kind of error, how to solve this?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Wahyu A! 🙂 you can use override dependencies and in it you can place lower version of dependency which is causing issue

  • @deepakshah3108
    @deepakshah3108 Рік тому

    It prints -> Instance of 'Person' instead of Person(name: Jack)
    Could you please tell me how to print data like as you shown

    • @HeyFlutter
      @HeyFlutter  Рік тому +1

      Thank you Deepak shah, make sure to follow the tutorial step by step 🙂

    • @deepakshah3108
      @deepakshah3108 Рік тому

      @@HeyFlutter Today I got the solution actually I forgot to add toString() method in model class.

  • @md.ruhulamin7963
    @md.ruhulamin7963 3 роки тому

    Thank you sir. Is it possible to create fromMap(), and toMap() method for store and retrieve data from SqLITE database, by using this package?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thanks, Md.Ruhul Amin! 🙂 it doesn't matter simple name it fromJson and toJson which are more common. Learn more about using SQFlite here: ua-cam.com/video/UpKrhZ0Hppk/v-deo.html

  • @mgmyo7066
    @mgmyo7066 3 роки тому

    what about complex JSON structure?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thanks, Mg Myo! 🙂 How do you define complex?
      Learn more about complex JSON here:
      1) ua-cam.com/video/szOllHT1S7Y/v-deo.html
      2) ua-cam.com/video/-32HIsRf26o/v-deo.html

  • @akmaljorakhulov9816
    @akmaljorakhulov9816 2 роки тому +1

    👍👍👍

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Akmal Jorakhulov! 🙂

  • @ultixn
    @ultixn 3 роки тому

    I think generate with extension “Json to dart” better

    • @StarBattle08
      @StarBattle08 3 роки тому

      Is that a VSCode extension?

    • @ultixn
      @ultixn 3 роки тому

      @@StarBattle08 yeap

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thanks, Name Lastname! 🙂 Of course there are many ways to do this, I wanted to show only a global way without extensions, since extensions are commonly supported only for one specific IDE.

  • @devsoftware1554
    @devsoftware1554 2 роки тому

    Need to pay for the source code ??? 😦😦😦

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank You Dev Software!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware

  • @mehmetcanacik
    @mehmetcanacik 3 роки тому

    Harika :)

  • @MohammadAli-vj4sr
    @MohammadAli-vj4sr 3 роки тому +1

    👎👎