Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TimWhiting/json_serializable.dart
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: custom_map_types
Choose a base ref
...
head repository: google/json_serializable.dart
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 17,816 additions and 12,517 deletions.
  1. +2 −6 .github/ISSUE_TEMPLATE.md
  2. +9 −4 .github/dependabot.yml
  3. +0 −16 .github/no-response.yml
  4. +82 −102 .github/workflows/dart.yml
  5. +4 −14 .github/workflows/markdown_linter.yml
  6. +37 −0 .github/workflows/no-response.yml
  7. +17 −0 .github/workflows/publish.yaml
  8. +1 −3 .gitignore
  9. +4 −0 _test_yaml/mono_pkg.yaml
  10. +8 −15 _test_yaml/pubspec.yaml
  11. +2 −0 _test_yaml/test/ensure_build_test.dart
  12. +11 −12 _test_yaml/test/src/build_config.dart
  13. +112 −109 _test_yaml/test/src/build_config.g.dart
  14. +5 −5 _test_yaml/test/yaml_test.dart
  15. +9 −25 analysis_options.yaml
  16. +12 −2 checked_yaml/CHANGELOG.md
  17. +2 −6 checked_yaml/README.md
  18. +1 −5 checked_yaml/example/example.dart
  19. +14 −20 checked_yaml/example/example.g.dart
  20. +29 −45 checked_yaml/lib/checked_yaml.dart
  21. +4 −1 checked_yaml/mono_pkg.yaml
  22. +14 −12 checked_yaml/pubspec.yaml
  23. +40 −12 checked_yaml/test/custom_error_test.dart
  24. +2 −0 checked_yaml/test/ensure_build_test.dart
  25. +30 −54 checked_yaml/test/example_test.dart
  26. +17 −10 checked_yaml/test/readme_test.dart
  27. +5 −8 example/README.md
  28. +4 −3 example/lib/example.dart
  29. +46 −64 example/lib/example.g.dart
  30. +6 −15 example/lib/generic_response_class_example.dart
  31. +15 −17 example/lib/generic_response_class_example.g.dart
  32. +2 −0 example/lib/json_converter_example.dart
  33. +20 −25 example/lib/json_converter_example.g.dart
  34. +7 −7 example/lib/nested_values_example.dart
  35. +3 −2 example/lib/nested_values_example.g.dart
  36. +2 −4 example/lib/tuple_example.dart
  37. +14 −15 example/lib/tuple_example.g.dart
  38. +4 −0 example/mono_pkg.yaml
  39. +10 −10 example/pubspec.yaml
  40. +2 −0 example/test/ensure_build_test.dart
  41. +9 −4 example/test/example_test.dart
  42. +4 −4 example/test/generic_response_class_test.dart
  43. +41 −25 example/test/json_convert_example_test.dart
  44. +3 −3 example/test/readme_test.dart
  45. +22 −1 json_annotation/CHANGELOG.md
  46. +1 −1 json_annotation/lib/json_annotation.dart
  47. +12 −8 json_annotation/lib/src/allowed_keys_helpers.dart
  48. +16 −17 json_annotation/lib/src/checked_helpers.dart
  49. +7 −3 json_annotation/lib/src/json_converter.dart
  50. +63 −26 json_annotation/lib/src/json_key.dart
  51. +45 −18 json_annotation/lib/src/json_serializable.dart
  52. +73 −55 json_annotation/lib/src/json_serializable.g.dart
  53. +4 −4 json_annotation/mono_pkg.yaml
  54. +9 −8 json_annotation/pubspec.yaml
  55. +77 −1 json_serializable/CHANGELOG.md
  56. +55 −46 json_serializable/README.md
  57. +18 −0 json_serializable/build.yaml
  58. +11 −11 json_serializable/example/example.g.dart
  59. +2 −2 json_serializable/lib/builder.dart
  60. +34 −13 json_serializable/lib/src/check_dependencies.dart
  61. +5 −2 json_serializable/lib/src/constants.dart
  62. +60 −52 json_serializable/lib/src/decode_helper.dart
  63. +2 −2 json_serializable/lib/src/default_container.dart
  64. +90 −102 json_serializable/lib/src/encoder_helper.dart
  65. +27 −16 json_serializable/lib/src/enum_utils.dart
  66. +31 −20 json_serializable/lib/src/field_helpers.dart
  67. +52 −20 json_serializable/lib/src/generator_helper.dart
  68. +22 −20 json_serializable/lib/src/helper_core.dart
  69. +5 −5 json_serializable/lib/src/json_enum_generator.dart
  70. +71 −39 json_serializable/lib/src/json_key_utils.dart
  71. +6 −3 json_serializable/lib/src/json_literal_generator.dart
  72. +26 −13 json_serializable/lib/src/json_part_builder.dart
  73. +9 −20 json_serializable/lib/src/json_serializable_generator.dart
  74. +43 −4 json_serializable/lib/src/lambda_result.dart
  75. +15 −16 json_serializable/lib/src/settings.dart
  76. +1 −30 json_serializable/lib/src/shared_checkers.dart
  77. +32 −29 json_serializable/lib/src/type_helper_ctx.dart
  78. +7 −12 json_serializable/lib/src/type_helpers/big_int_helper.dart
  79. +36 −18 json_serializable/lib/src/type_helpers/config_types.dart
  80. +9 −5 json_serializable/lib/src/type_helpers/convert_helper.dart
  81. +11 −13 json_serializable/lib/src/type_helpers/date_time_helper.dart
  82. +1 −1 json_serializable/lib/src/type_helpers/duration_helper.dart
  83. +7 −4 json_serializable/lib/src/type_helpers/generic_factory_helper.dart
  84. +21 −25 json_serializable/lib/src/type_helpers/json_converter_helper.dart
  85. +30 −31 json_serializable/lib/src/type_helpers/json_helper.dart
  86. +17 −21 json_serializable/lib/src/type_helpers/map_helper.dart
  87. +119 −0 json_serializable/lib/src/type_helpers/record_helper.dart
  88. +5 −20 json_serializable/lib/src/type_helpers/to_from_string.dart
  89. +7 −9 json_serializable/lib/src/type_helpers/uri_helper.dart
  90. +6 −20 json_serializable/lib/src/type_helpers/value_helper.dart
  91. +87 −62 json_serializable/lib/src/utils.dart
  92. +1 −1 json_serializable/lib/type_helper.dart
  93. +4 −0 json_serializable/mono_pkg.yaml
  94. +24 −18 json_serializable/pubspec.yaml
  95. +81 −50 json_serializable/test/annotation_version_test.dart
  96. +46 −35 json_serializable/test/config_test.dart
  97. +87 −52 json_serializable/test/custom_configuration_test.dart
  98. +6 −4 json_serializable/test/default_value/default_value.dart
  99. +60 −59 json_serializable/test/default_value/default_value.g.dart
  100. +7 −8 json_serializable/test/default_value/default_value.g_any_map__checked.dart
  101. +97 −82 json_serializable/test/default_value/default_value.g_any_map__checked.g.dart
  102. +3 −6 json_serializable/test/default_value/default_value_interface.dart
  103. +4 −4 json_serializable/test/default_value/default_value_test.dart
  104. +1 −1 json_serializable/test/default_value/implicit_default_value.dart
  105. +91 −86 json_serializable/test/default_value/implicit_default_value.g.dart
  106. +2 −0 json_serializable/test/ensure_build_test.dart
  107. +3 −1 json_serializable/test/enum_helper_test.dart
  108. +96 −0 json_serializable/test/field_matrix_test.dart
  109. +384 −0 json_serializable/test/field_matrix_test.field_matrix.dart
  110. +234 −0 json_serializable/test/field_matrix_test.field_matrix.g.dart
  111. +3 −9 json_serializable/test/generic_files/generic_argument_factories.dart
  112. +24 −26 json_serializable/test/generic_files/generic_argument_factories.g.dart
  113. +3 −9 json_serializable/test/generic_files/generic_argument_factories_nullable.dart
  114. +52 −56 json_serializable/test/generic_files/generic_argument_factories_nullable.g.dart
  115. +22 −16 json_serializable/test/generic_files/generic_class.dart
  116. +88 −83 json_serializable/test/generic_files/generic_class.g.dart
  117. +38 −36 json_serializable/test/generic_files/generic_test.dart
  118. +22 −0 json_serializable/test/integration/converter_examples.dart
  119. +59 −43 json_serializable/test/integration/converter_examples.g.dart
  120. +87 −0 json_serializable/test/integration/create_per_field_to_json_example.dart
  121. +101 −0 json_serializable/test/integration/create_per_field_to_json_example.g.dart
  122. +2 −6 json_serializable/test/integration/field_map_example.dart
  123. +9 −13 json_serializable/test/integration/field_map_example.g.dart
  124. +148 −85 json_serializable/test/integration/integration_test.dart
  125. +25 −30 json_serializable/test/integration/json_enum_example.dart
  126. +32 −28 json_serializable/test/integration/json_enum_example.g.dart
  127. +28 −0 json_serializable/test/integration/json_keys_example.dart
  128. +24 −0 json_serializable/test/integration/json_keys_example.g.dart
  129. +11 −11 json_serializable/test/integration/json_test_common.dart
  130. +15 −6 json_serializable/test/integration/json_test_example.dart
  131. +128 −124 json_serializable/test/integration/json_test_example.g.dart
  132. +20 −21 json_serializable/test/integration/json_test_example.g_any_map.dart
  133. +133 −128 json_serializable/test/integration/json_test_example.g_any_map.g.dart
  134. +14 −10 json_serializable/test/json_serializable_test.dart
  135. +42 −39 json_serializable/test/kitchen_sink/kitchen_sink.dart
  136. +257 −179 json_serializable/test/kitchen_sink/kitchen_sink.g.dart
  137. +45 −45 json_serializable/test/kitchen_sink/kitchen_sink.g_any_map.dart
  138. +250 −166 json_serializable/test/kitchen_sink/kitchen_sink.g_any_map.g.dart
  139. +46 −47 json_serializable/test/kitchen_sink/kitchen_sink.g_any_map__checked.dart
  140. +402 −290 json_serializable/test/kitchen_sink/kitchen_sink.g_any_map__checked.g.dart
  141. +45 −45 json_serializable/test/kitchen_sink/kitchen_sink.g_exclude_null.dart
  142. +252 −194 json_serializable/test/kitchen_sink/kitchen_sink.g_exclude_null.g.dart
  143. +45 −45 json_serializable/test/kitchen_sink/kitchen_sink.g_explicit_to_json.dart
  144. +261 −181 json_serializable/test/kitchen_sink/kitchen_sink.g_explicit_to_json.g.dart
  145. +6 −1 json_serializable/test/kitchen_sink/kitchen_sink_interface.dart
  146. +45 −36 json_serializable/test/kitchen_sink/kitchen_sink_test.dart
  147. +6 −7 json_serializable/test/kitchen_sink/kitchen_sink_test_shared.dart
  148. +31 −31 json_serializable/test/kitchen_sink/kitchen_sink_yaml_test.dart
  149. +4 −7 json_serializable/test/kitchen_sink/simple_object.g.dart
  150. +2 −2 json_serializable/test/kitchen_sink/strict_keys_object.g.dart
  151. +8 −8 json_serializable/test/literal/json_literal.g.dart
  152. +7 −2 json_serializable/test/literal/json_literal_test.dart
  153. +18 −15 json_serializable/test/shared_config.dart
  154. +108 −129 json_serializable/test/src/_json_serializable_test_input.dart
  155. +18 −18 json_serializable/test/src/checked_test_input.dart
  156. +2 −0 json_serializable/test/src/constants_copy.dart
  157. +14 −30 json_serializable/test/src/core_subclass_type_input.dart
  158. +35 −41 json_serializable/test/src/default_value_input.dart
  159. +7 −5 json_serializable/test/src/field_namer_input.dart
  160. +22 −20 json_serializable/test/src/generic_test_input.dart
  161. +37 −52 json_serializable/test/src/inheritance_test_input.dart
  162. +57 −46 json_serializable/test/src/json_converter_test_input.dart
  163. +7 −9 json_serializable/test/src/map_key_variety_test_input.dart
  164. +4 −2 json_serializable/test/src/setter_test_input.dart
  165. +54 −84 json_serializable/test/src/to_from_json_test_input.dart
  166. +11 −10 json_serializable/test/src/unknown_enum_value_test_input.dart
  167. +33 −0 json_serializable/test/supported_types/enum_type.dart
  168. +3 −3 json_serializable/test/supported_types/extra_map_test.dart
  169. +1 −4 json_serializable/test/supported_types/input.dart
  170. +3 −5 json_serializable/test/supported_types/input.g.dart
  171. +2 −8 json_serializable/test/supported_types/input.type_bigint.dart
  172. +11 −11 json_serializable/test/supported_types/input.type_bigint.g.dart
  173. +2 −8 json_serializable/test/supported_types/input.type_bool.dart
  174. +8 −10 json_serializable/test/supported_types/input.type_bool.g.dart
  175. +2 −8 json_serializable/test/supported_types/input.type_datetime.dart
  176. +11 −11 json_serializable/test/supported_types/input.type_datetime.g.dart
  177. +2 −8 json_serializable/test/supported_types/input.type_double.dart
  178. +9 −9 json_serializable/test/supported_types/input.type_double.g.dart
  179. +2 −6 json_serializable/test/supported_types/input.type_duration.dart
  180. +7 −12 json_serializable/test/supported_types/input.type_duration.g.dart
  181. +2 −8 json_serializable/test/supported_types/input.type_enumtype.dart
  182. +9 −10 json_serializable/test/supported_types/input.type_enumtype.g.dart
  183. +2 −8 json_serializable/test/supported_types/input.type_int.dart
  184. +11 −11 json_serializable/test/supported_types/input.type_int.g.dart
  185. +178 −168 json_serializable/test/supported_types/input.type_iterable.dart
  186. +427 −364 json_serializable/test/supported_types/input.type_iterable.g.dart
  187. +178 −168 json_serializable/test/supported_types/input.type_list.dart
  188. +446 −384 json_serializable/test/supported_types/input.type_list.g.dart
  189. +1,801 −1,658 json_serializable/test/supported_types/input.type_map.dart
  190. +5,006 −3,954 json_serializable/test/supported_types/input.type_map.g.dart
  191. +2 −8 json_serializable/test/supported_types/input.type_num.dart
  192. +8 −10 json_serializable/test/supported_types/input.type_num.g.dart
  193. +2 −8 json_serializable/test/supported_types/input.type_object.dart
  194. +10 −13 json_serializable/test/supported_types/input.type_object.g.dart
  195. +782 −0 json_serializable/test/supported_types/input.type_record.dart
  196. +1,249 −0 json_serializable/test/supported_types/input.type_record.g.dart
  197. +178 −168 json_serializable/test/supported_types/input.type_set.dart
  198. +444 −385 json_serializable/test/supported_types/input.type_set.g.dart
  199. +2 −8 json_serializable/test/supported_types/input.type_string.dart
  200. +9 −9 json_serializable/test/supported_types/input.type_string.g.dart
  201. +2 −8 json_serializable/test/supported_types/input.type_uri.dart
  202. +11 −11 json_serializable/test/supported_types/input.type_uri.g.dart
  203. +22 −12 ...erializable/test/supported_types/{support_types_extra_tests.dart → support_types_extra_test.dart}
  204. +8 −22 json_serializable/test/supported_types/type_test.bigint_test.dart
  205. +8 −22 json_serializable/test/supported_types/type_test.bool_test.dart
  206. +7 −18 json_serializable/test/supported_types/type_test.dart
  207. +8 −22 json_serializable/test/supported_types/type_test.datetime_test.dart
  208. +8 −22 json_serializable/test/supported_types/type_test.double_test.dart
  209. +8 −19 json_serializable/test/supported_types/type_test.duration_test.dart
  210. +8 −22 json_serializable/test/supported_types/type_test.enumtype_test.dart
  211. +8 −22 json_serializable/test/supported_types/type_test.int_test.dart
  212. +8 −22 json_serializable/test/supported_types/type_test.iterable_test.dart
  213. +8 −22 json_serializable/test/supported_types/type_test.list_test.dart
  214. +8 −22 json_serializable/test/supported_types/type_test.map_test.dart
  215. +8 −22 json_serializable/test/supported_types/type_test.num_test.dart
  216. +8 −22 json_serializable/test/supported_types/type_test.object_test.dart
  217. +8 −22 json_serializable/test/supported_types/type_test.set_test.dart
  218. +8 −22 json_serializable/test/supported_types/type_test.string_test.dart
  219. +8 −22 json_serializable/test/supported_types/type_test.uri_test.dart
  220. +3 −1 json_serializable/test/test_sources/test_sources.dart
  221. +2 −0 json_serializable/test/test_utils.dart
  222. +92 −0 json_serializable/tool/field_matrix_builder.dart
  223. +1 −4 json_serializable/tool/readme/readme_examples.dart
  224. +13 −15 json_serializable/tool/readme/readme_examples.g.dart
  225. +16 −5 json_serializable/tool/readme/readme_template.md
  226. +52 −46 json_serializable/tool/readme_builder.dart
  227. +15 −6 json_serializable/tool/shared.dart
  228. +34 −33 json_serializable/tool/test_builder.dart
  229. +34 −45 json_serializable/tool/test_type_builder.dart
  230. +79 −60 json_serializable/tool/test_type_data.dart
  231. +15 −0 pubspec.yaml
  232. +3 −4 shared_test/pubspec.yaml
  233. +12 −12 tool/ci.sh
8 changes: 2 additions & 6 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -4,9 +4,5 @@ In order to route, prioritize, and act on this, please include the entire output
of either `dart --version` or `flutter --version`, depending on what
you're using.

Is it really an issue? For general questions consider starting with Stack
Overflow:
https://stackoverflow.com/questions/tagged/dart

Also consider our Gitter channel for light-weight/quick discussions:
https://gitter.im/dart-lang/build
Is it really an issue? For general questions consider starting with community
resources: https://dart.dev/community
13 changes: 9 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -4,8 +4,13 @@
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
directory: /
schedule:
# Check for updates to GitHub Actions weekly
interval: "monthly"
interval: monthly
labels:
- autosubmit
groups:
dependencies:
patterns:
- "*"
16 changes: 0 additions & 16 deletions .github/no-response.yml

This file was deleted.

Loading