CefJsonParserOptions.cs 713 B

1234567891011121314151617181920212223242526
  1. //
  2. // This file manually written from cef/include/internal/cef_types.h.
  3. // C API name: cef_json_parser_options_t.
  4. //
  5. namespace Xilium.CefGlue
  6. {
  7. using System;
  8. /// <summary>
  9. /// Options that can be passed to CefParseJSON.
  10. /// </summary>
  11. [Flags]
  12. public enum CefJsonParserOptions
  13. {
  14. /// <summary>
  15. /// Parses the input strictly according to RFC 4627. See comments in Chromium's
  16. /// base/json/json_reader.h file for known limitations/deviations from the RFC.
  17. /// </summary>
  18. Rfc = 0,
  19. /// <summary>
  20. /// Allows commas to exist after the last element in structures.
  21. /// </summary>
  22. AllowTrailingCommas = 1 << 0,
  23. }
  24. }