| 
            Last change
 on this file since 2d373440 was             ebe0f0d, checked in by Thierry Delisle <tdelisle@…>, 6 years ago           | 
        
        
          | 
             
Added basic language server which now properly communicates with the client 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            238 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | #pragma once
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #include <nlohmann/json.hpp>
 | 
|---|
| 4 | 
 | 
|---|
| 5 | namespace json {
 | 
|---|
| 6 |       static inline auto parse(const std::vector<char> & buff) {
 | 
|---|
| 7 |             return nlohmann::json::parse(buff.begin(), buff.end());
 | 
|---|
| 8 |       }
 | 
|---|
| 9 | 
 | 
|---|
| 10 |       using obj = nlohmann::json;
 | 
|---|
| 11 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.