/// Transform DSL dictionary into a JSON file.
/// All formatting markup & lingvo tags are removed,
/// keeping only the text content.
/// 
/// # Examples
/// 
/// ```
/// use harlaw::to_json_no_markup;
/// 
/// let input = "./my-dictionary.dsl"; // Original DSL dictionary.
/// let output = "./my-dictionary.json"; // JSON version to be created.
/// 
/// // Result object with either Ok or Err message.
/// let result = to_json_no_markup(input, output);
/// 
/// ```
Transform DSL dictionary into a JSON file.
All formatting markup & lingvo tags are removed,
keeping only the text content.
Transform DSL dictionary into a JSON file . All formatting markup & lingvo tags are removed keeping only the text content .
pub fn to_json_no_markup(input: &str, output: &str) -> Result<(), &'static str> {
    let settings = get_no_markup_settings();
    dictionary::to_json(input, output, settings)
}
pub fn to_json_no_markup ( input : & str , output : & str ) -> Result < ( ) , & ' static str > { let settings = get_no_markup_settings ( ) ; dictionary :: to_json ( input , output , settings ) }
Transform DSL dictionary into a JSON file.
Transform DSL dictionary into a JSON file .
input
&str
output
&str
examples
```
use harlaw::to_json_no_markup.

let input = "./my-dictionary.dsl"; // Original DSL dictionary.
let output = "./my-dictionary.json"; // JSON version to be created.

Result object with either Ok or Err message.
let result = to_json_no_markup(input, output).


` ` ` use harlaw :: to_json_no_markup . let input = " . / my - dictionary . dsl " ; // Original DSL dictionary . let output = " . / my - dictionary . json " ; // JSON version to be created . Result object with either Ok or Err message . let result = to_json_no_markup ( input output ) .