2024-05-02 15:08:24 +00:00
|
|
|
/*
|
2024-10-29 07:36:43 +00:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
2024-05-02 15:08:24 +00:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <folly/dynamic.h>
|
|
|
|
#include <jsi/jsi.h>
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace jsi {
|
|
|
|
|
|
|
|
facebook::jsi::Value valueFromDynamic(
|
|
|
|
facebook::jsi::Runtime& runtime,
|
|
|
|
const folly::dynamic& dyn);
|
|
|
|
|
|
|
|
folly::dynamic dynamicFromValue(
|
|
|
|
facebook::jsi::Runtime& runtime,
|
|
|
|
const facebook::jsi::Value& value);
|
|
|
|
|
|
|
|
} // namespace jsi
|
|
|
|
} // namespace facebook
|