RCTFollyConvert.h 442 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <Foundation/Foundation.h>
  8. #include <folly/dynamic.h>
  9. namespace facebook {
  10. namespace react {
  11. folly::dynamic convertIdToFollyDynamic(id json);
  12. id convertFollyDynamicToId(const folly::dynamic &dyn);
  13. } // namespace react
  14. } // namespace facebook