Skip to content

Override pydantic model .json with our default settings

Mateusz Żebrak requested to merge mzebrak/json into master

Setting by_alias to True as its our case all of the time, so its better default for us.

Also setting ensure_ascii to False which causes proper json dump of e.g. polish characters. Caused clive#193 (closed) , decided to fix it at a lower level (here, in schemas instead of Clive only).

Related:

Edited by Mateusz Żebrak

Merge request reports