mirror of
				https://git.sfja.dk/Mikkel/slige.git
				synced 2025-10-29 04:18:30 +00:00 
			
		
		
		
	add parse_json
This commit is contained in:
		
							parent
							
								
									2dbdd5c772
								
							
						
					
					
						commit
						f96d4849f6
					
				| @ -319,6 +319,11 @@ private: | ||||
|     Res<Tok> cur; | ||||
| }; | ||||
| 
 | ||||
| inline auto parse_json(std::string_view value) -> Res<std::unique_ptr<Value>> | ||||
| { | ||||
|     return Parser(value).parse_val(); | ||||
| } | ||||
| 
 | ||||
| class Writer { | ||||
| public: | ||||
|     inline auto operator<<(auto value) -> Writer& | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user