- 
                Notifications
    
You must be signed in to change notification settings  - Fork 274
 
Closed
Labels
topic: featureDiscussions about new features for Python's type annotationsDiscussions about new features for Python's type annotations
Description
JSON is such a common interchange format it might make sense to define it as a specific type.
JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']]Not sure if this should go into typing or be introduces as json.JSONType instead (or if it's even worth it considering the variability of the type).
cirosantilli, hasoya, JakobGM, Congee, PavanKulkarni and 248 moreCommanderTvis, mahdihaghverdi and rob42262xyo, randolf-scholz, Middledot, satyanash, valentk777 and 2 more
Metadata
Metadata
Assignees
Labels
topic: featureDiscussions about new features for Python's type annotationsDiscussions about new features for Python's type annotations