Skip to content

geojson-pydantic types expect dicts and not json #66

Answered by p1-dta
p1-dta asked this question in Q&A
Discussion options

You must be logged in to vote

Just use .parse_raw() or Json[Polygon] return type if it's ok to return a string.

See discussion here: #66 (comment)

Replies: 6 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@vincentsarago
Comment options

@p1-dta
Comment options

@vincentsarago
Comment options

@p1-dta
Comment options

Comment options

You must be logged in to vote
1 reply
@p1-dta
Comment options

Comment options

You must be logged in to vote
8 replies
@vincentsarago
Comment options

@p1-dta
Comment options

@vincentsarago
Comment options

@eseglem
Comment options

@p1-dta
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by p1-dta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #63 on June 02, 2022 19:38.