Index: tools/grit/grit/format/policy_templates/writers/json_writer.py |
diff --git a/tools/grit/grit/format/policy_templates/writers/json_writer.py b/tools/grit/grit/format/policy_templates/writers/json_writer.py |
index a754305bab79c1a4f2e35086cd5ef34f393fdb5e..de7ec2700505f2a36dd093e540fded4a245fe310 100644 |
--- a/tools/grit/grit/format/policy_templates/writers/json_writer.py |
+++ b/tools/grit/grit/format/policy_templates/writers/json_writer.py |
@@ -26,7 +26,7 @@ class JsonWriter(template_writer.TemplateWriter): |
return self.FlattenGroupsAndSortPolicies(policy_list) |
def WritePolicy(self, policy): |
- example_value = policy['annotations']['example_value'] |
+ example_value = policy['example_value'] |
if policy['type'] == 'string': |
example_value_str = '"' + example_value + '"' |
elif policy['type'] == 'int': |