You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
208 B
12 lines
208 B
#pragma once
|
|
|
|
#include "json.h"
|
|
|
|
template <typename C>
|
|
inline js::Value ptrvector_to_json(C const & container){
|
|
js::Array array;
|
|
for(auto x : container){
|
|
array.push_back(to_json(*x));
|
|
}
|
|
return array;
|
|
}
|
|
|