Update policy_templates.json to dissuade from using 'list' with JSON |
||
Issue descriptionUsing type 'list' seems like a good idea if the policy is indeed a list. However, it is not a good idea if it is a list of objects, and so will need to be parsed as JSON - in that case, 'dict' is a better fit. Will add some documentation to policy_templates.json explaining why. Could also add a presubmit check (if we decide this is worth enforcing).
,
Aug 17
Comments are updated. |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Aug 10