All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.app.shared.hjson-parser.hjson-parser.service.ts Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
import { Injectable } from '@angular/core';

import * as hjson from 'hjson';

@Injectable()
export class HjsonParserService {

  parse(content: string): string {
    return JSON.stringify(hjson.parse(content));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy