add weak json parsing func-ty

Fixes #1