aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_header_extract.d
diff options
context:
space:
mode:
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;