react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Extract JSConverter into a JSConverter.h file

Open vmoroz opened this issue 5 years ago • 0 comments

The JSConverter is added for value conversion in JSValue.cpp. The JSValueReader and JSValueWriter also need to do similar conversions, but currently they use different algorithms. It would beneficial that all conversions are done uniformly between these classes. E.g. there is special logic how to convert NaN to a string. The change will require to move the JSConverter implementation into its own header file JSConverter.h and change JSValue, JSValueReader, and JSValueWriter to use this new class.

vmoroz avatar Apr 03 '20 16:04 vmoroz