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

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 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: th-cam.com/video/KRupSlqAMqs/w-d-xo.html
    Shared Preferences & JSON Tutorial: th-cam.com/video/szOllHT1S7Y/w-d-xo.html
    Load & Save JSON Complete GUIDE Tutorial: th-cam.com/video/-32HIsRf26o/w-d-xo.html
    Load JSON From Network Tutorial: th-cam.com/video/Rlf5q2EGHzc/w-d-xo.html
    Null Safety In 5 Minutes Tutorial: th-cam.com/video/Q_WloMNKOkU/w-d-xo.html
    Migrate App To Null Safety Tutorial: th-cam.com/video/GLnQphHi1BY/w-d-xo.html
    Flutter Upgrade Tutorial: th-cam.com/video/0QC7S1nUmpY/w-d-xo.html
    Copy To Clipboard Tutorial: th-cam.com/video/whVnZnSsU3o/w-d-xo.html
    Google Sheets API Tutorial: th-cam.com/video/3UJ6RnWTGIY/w-d-xo.html
    Global Key Tutorial: th-cam.com/video/jlZ8GV_3nnk/w-d-xo.html
    Value Key Tutorial: th-cam.com/video/-F_5yHm_Zso/w-d-xo.html
    Unique Key Tutorial: th-cam.com/video/WhnB_5yjyWQ/w-d-xo.html
    Object Key Tutorial: th-cam.com/video/WQpPMYxxTfg/w-d-xo.html
    Page Storage Key Tutorial: th-cam.com/video/sMD4Qxn9q_E/w-d-xo.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?

  • @LofiCoder
    @LofiCoder ปีที่แล้ว

    Amazing video. Saved my life!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, Thank you Lofi Coder! 😊

  • @alhaidarai
    @alhaidarai 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

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

  • @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: th-cam.com/video/oFZIwBudIj0/w-d-xo.html
      2) Search App Bar: th-cam.com/video/RaACAwvZ61E/w-d-xo.html
      3) Autocomplete Search: th-cam.com/video/ybV1aIyKFE0/w-d-xo.html

  • @lloyd27z
    @lloyd27z 2 ปีที่แล้ว

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

  • @higorgustavobarbosadasilva9624
    @higorgustavobarbosadasilva9624 3 ปีที่แล้ว

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

  • @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

  • @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. 😬

  • @mitra9234
    @mitra9234 2 ปีที่แล้ว

    great tutorial dude thanks

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Glad you liked it, Mitra 😀

  • @galvatp9221
    @galvatp9221 3 ปีที่แล้ว

    Thanks you for all bro, you are incredible ❤

  • @programingtales7514
    @programingtales7514 2 ปีที่แล้ว

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

  • @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

  • @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 🙏

  • @arzargaryan
    @arzargaryan 2 ปีที่แล้ว

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

  • @deepakshah3108
    @deepakshah3108 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +1

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

    • @deepakshah3108
      @deepakshah3108 2 ปีที่แล้ว

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

  • @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

  • @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: th-cam.com/video/UpKrhZ0Hppk/w-d-xo.html

  • @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.

  • @hashankannangara8723
    @hashankannangara8723 3 ปีที่แล้ว

    Thanks 😍🤘

  • @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) th-cam.com/video/szOllHT1S7Y/w-d-xo.html
      2) th-cam.com/video/-32HIsRf26o/w-d-xo.html

  • @adnanhaider9949
    @adnanhaider9949 3 ปีที่แล้ว

    Please also make array data to json and vice-versa

  • @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

  • @akmaljorakhulov9816
    @akmaljorakhulov9816 2 ปีที่แล้ว +1

    👍👍👍

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, Akmal Jorakhulov! 🙂

  • @mehmetcanacik
    @mehmetcanacik 3 ปีที่แล้ว

    Harika :)

  • @MohammadAli-vj4sr
    @MohammadAli-vj4sr 3 ปีที่แล้ว +1

    👎👎