JSON value 'thin' of type NSString cannot be converted to NSNumber
See original GitHub issueI’m using react-native-render-html for rendering email bodies.
When I get the following in the html i get “JSON value ‘thin’ of type NSString cannot be converted to NSNumber”.
<blockquote type=\"cite\" style=\"border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;\">
I suppose this is just a dev-warning, because it’s dismissable. But I also suppose that the “thin” border will be omitted.
Is this the way the librart shows me that an attribute is not supported? No biggie, since it renders anyway, but maybe there is room for improvement.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
React Native - NSNumber cannot be converted to NSString
I get the following error: JSON value '700' of type NSNumber cannot be converted to NSSTring. I'm assuming this is because font-weight expects ......
Read more >Fixing an error: JSON value '1' of type NSNumber cannot be ...
After having upgraded React Native to 0.62.2, it got the following error: JSON value '1' of type NSNumber cannot be converted to NSString...
Read more >iOS : JSON value of type NSString cannot be converted to a ...
... type NSString cannot be converted to a ABI38_0_0YGValue [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS : JSON ...
Read more >Swift JSON Could not cast value of… | Apple Developer Forums
I'm getting the following error on line 03 \: Could not cast value of type '__NSArrayM' (0x10e710b60) to 'NSDictionary' (0x10e710fe8).
Read more >React Native - Value of type NSString cannot be converted to ...
[Solved]-React Native - Value of type NSString cannot be converted to a ... json value '2' of type nsnumber cannot be converted to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@castalonirenz The issue has been fixed in the latest css-processor release https://github.com/native-html/core/releases/tag/%40native-html/css-processor%401.8.1. You can explicitly install it, or wait for the react-native-render-html@6.0.0-alpha-25 which should be released within a few days.
Thanks! Thats great news. I’m already thrilled about finding this library. It solves so many problems for me.
Thank you for your work!