JSON.h 484 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2022-2023, Linus Groh <linusg@serenityos.org>
  3. * Copyright (c) 2024, Tim Flynn <trflynn89@ladybird.org>
  4. *
  5. * SPDX-License-Identifier: BSD-2-Clause
  6. */
  7. #pragma once
  8. #include <LibJS/Runtime/Value.h>
  9. #include <LibWeb/Forward.h>
  10. #include <LibWeb/WebDriver/Response.h>
  11. namespace Web::WebDriver {
  12. Response json_clone(HTML::BrowsingContext const&, JS::Value);
  13. ErrorOr<JS::Value, WebDriver::Error> json_deserialize(HTML::BrowsingContext const&, JsonValue const&);
  14. }