Skip to content

Add Base_readJson

Levin Zimmermann requested to merge (removed):add_readJson into master

This adds a restricted version / a wrapper of pandas read_json function. It prohibits reading json from an URL, a file path or a file: only json encoded as str are allowed.

Is this safe to be added to the Wendelin main branch? The original not-restricted function has been blacklisted with this commit: https://lab.nexedi.com/nexedi/erp5/commit/a254bf509f54c9910d8cffb39285d16ea135a45c

I added a new unit test for the function.

@tatuya @Tyagov @klaus

Merge request reports