This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new df3f730ca Fix typo.
df3f730ca is described below
commit df3f730ca7590062001f97efeb94154f613128e0
Author: JamesBognar <[email protected]>
AuthorDate: Mon Jul 4 15:47:22 2022 -0400
Fix typo.
---
content/about.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/about.html b/content/about.html
index 8df702ae8..52e9840d0 100644
--- a/content/about.html
+++ b/content/about.html
@@ -119,7 +119,7 @@
String <jv>json</jv> = Json.<jsm>of</jsm>(<jk>new</jk> Person());
<jc>// Parse back into a bean.</jc>
- Person <jv>person</jv> = Json.<jsm>from</jsm>(<jv>json</jv>,
Person.<jk>class</jk>);
+ Person <jv>person</jv> = Json.<jsm>to</jsm>(<jv>json</jv>,
Person.<jk>class</jk>);
<jc>// Various other languages.</jc>
String <jv>simpleJson</jv> = SimpleJson.<jsm>of</jsm>(<jv>person</jv>);