aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_header_extract.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-06-29 22:28:53 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-04 14:48:18 -0400
commit1d30d4b2225be7f152de94b007d81a5d7b7a1c3a (patch)
tree36a5a30d607b4ace9d9be006700d98fcf1a16f34 /src/sdp/ao_header_extract.d
parentregisters, minor cleaning (diff)
associated array instead of json
Diffstat (limited to 'src/sdp/ao_header_extract.d')
-rw-r--r--src/sdp/ao_header_extract.d10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sdp/ao_header_extract.d b/src/sdp/ao_header_extract.d
index cf6dca1..f78d7c4 100644
--- a/src/sdp/ao_header_extract.d
+++ b/src/sdp/ao_header_extract.d
@@ -1,5 +1,5 @@
/+
- extract native/orig header return json
+ extract native/orig header return associative array
+/
template SiSUheaderExtractHub() {
private import
@@ -10,13 +10,13 @@ template SiSUheaderExtractHub() {
mixin SiSUheaderExtractNative;
mixin SiSUheaderExtractSDLang;
auto rgx = Rgx();
- private auto headerContentJSON(char[] header_src, JSONValue[string] conf_doc_make_json) {
- auto head_native = HeaderDocMetadataAndMakeNativeToJson();
+ private auto headerContentAA(char[] header_src, string[string][string] conf_doc_make_aa) {
+ auto head_native = HeaderDocMetadataAndMakeNativeToAA();
auto head_sdlang = HeaderExtractSDL();
writeln(__LINE__);
auto header_make_and_meta_tuple = (match(header_src, rgx.native_header_meta_title))
- ? (head_native.headerNativeToJSON(header_src))
- : (head_sdlang.headerSDLangToJSON(header_src, conf_doc_make_json));
+ ? (head_native.headerNativeToAA(header_src))
+ : (head_sdlang.headerSDLangToAA(header_src, conf_doc_make_aa));
writeln(__LINE__);
static assert(!isTypeTuple!(header_make_and_meta_tuple));
return header_make_and_meta_tuple;