Skip to content

how to get standard json not extended json ? #1754

Open
@francisliyy

Description

@francisliyy

pgi = ProcessGenInput.objects(id=pk).first()
pgi.to_json()
when I do like that I got extended json, it is no use, since I want to transfer json data to web page and use javascript to get data from it.
Could you help me to fix it? thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions