Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Feb 3, 2024
1 parent da329c8 commit 1302454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ struct ThirdPartyStruct
int a = 100;
};
namespace json
namespace json::ext
{
template <>
class jsonization<ThirdPartyStruct>
Expand All @@ -176,7 +176,7 @@ public:
return true;
}
};
} // namespace json
} // namespace json::ext
// 然后可以将其用作 JSON
ThirdPartyStruct third;
Expand Down
4 changes: 2 additions & 2 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ struct ThirdPartyStruct
int a = 100;
};
namespace json
namespace json::ext
{
template <>
class jsonization<ThirdPartyStruct>
Expand All @@ -176,7 +176,7 @@ public:
return true;
}
};
} // namespace json
} // namespace json::ext
// then we can use it as json
ThirdPartyStruct third;
Expand Down

0 comments on commit 1302454

Please sign in to comment.