Skip to content

Value of **jsonString** in the whole document and output of jsonDecode in every usage in this page #12469

@Sanal567

Description

@Sanal567

Page URL

https://docs.flutter.dev/data-and-backend/serialization/json/

Page source

https://github.com/flutter/website/tree/main/src/content/data-and-backend/serialization/json.md

Describe the problem

_```
final user = jsonDecode(jsonString) as Map<String, dynamic>;
print('Howdy, ${user['name']}!');
print('We sent the verification link to ${user['email']}.');



What is the value of **jsonString** in the whole document?

### Expected fix

jsonEncode() method is unnecessary in this doc.

### Additional context

_No response_

### I would like to fix this problem.

- [ ] I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    from.page-issueReported in a reader-filed concern

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions