我有一个employeeList包含对象的对象employee,然后每个员工对象都有一个person对象和address对象,它们person and address都包含NSString属性和一些函数,例如 calculateAge()。
我想将此employeeList对象从本机端传递到反应本机端,但它显示为空,这是因为它 RN 桥只会发送特权数据类型。
https://facebook.github.io/react-native/docs/native-modules-ios#argument-types
将employeeList转换为JSON对象或嵌套映射以便在RN端查看的最佳方法是什么?